Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering is not working as expected #216

Open
gaddamsandeeps opened this issue Aug 6, 2020 · 2 comments
Open

Filtering is not working as expected #216

gaddamsandeeps opened this issue Aug 6, 2020 · 2 comments
Labels

Comments

@gaddamsandeeps
Copy link

Filtering of the nodes is working as supposed to be.

But we re unable to select/unselect a node after filtering.

@jalalazimi
Copy link

Hi @gaddamsandeeps , Please check out #217 .
Replace filtered.push({ ...node, children }); with filtered.push({...node, ...children.length && {children}});

@gaddamsandeeps
Copy link
Author

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
Projects
None yet
Development

No branches or pull requests

3 participants