Skip to content

Conversation

jalalazimi
Copy link

@jalalazimi jalalazimi commented Aug 12, 2020

Hi friends, I updated the following Example to fix #196 issue. If Instead of passing an empty array as a child, we don't pass children, this issue won't occur. I believe we have to prevent happening this bug inside the component, but it's the quickest solution that I've found.

 filtered.push({...node, ...children.length && {children}});

@gaddamsandeeps
Copy link

This fixed all filter problems. Thanks Team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All nodes are checked on filter
2 participants