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.
1 parent e6ee359 commit b50a73dCopy full SHA for b50a73d
README.md
@@ -93,7 +93,7 @@ function* treeWalker(refresh) {
93
94
// Basing on the node openness state we are deciding if we need to render
95
// the child nodes (if they exist).
96
- if (children.length > 0 && isOpened) {
+ if (children.length !== 0 && isOpened) {
97
// Since it is a stack structure, we need to put nodes we want to render
98
// first to the end of the stack.
99
for (let i = children.length - 1; i >= 0; i--) {
0 commit comments