We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d41f1b + 864a222 commit 098e3beCopy full SHA for 098e3be
src/utils.ts
@@ -69,7 +69,7 @@ export const createBasicRecord = <
69
parent: NodeRecord<TNodePublicState> | null = null,
70
): NodeRecord<TNodePublicState> => ({
71
child: null,
72
- isShown: parent ? parent.public.isOpen : true,
+ isShown: parent ? parent.public.isOpen && parent.isShown : true,
73
parent,
74
public: pub,
75
sibling: null,
0 commit comments