feat(api-ref): show schema of a tag (#7297)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-10 21:07:35 +03:00
1 parent e960f10aba
commit 1a68f4602c
11 files changed
+368 -77

No files matched your search

@@ -145,7 +145,14 @@ export const reducer = (
if (i.path && parent?.path && i.path === parent?.path) {
return {
...i,
children: [...(i.children || []), ...items],
children:
indexPosition !== undefined
? [
...(i.children?.slice(0, indexPosition) || []),
...items,
...(i.children?.slice(indexPosition) || []),
]
: [...(i.children || []), ...items],
loaded: parent.changeLoaded ? true : i.loaded,
}
}