Skip to content

Conversation

@jalalazimi
Copy link
Contributor

@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.

jakezatecky added a commit that referenced this pull request Sep 23, 2025
Supersedes #202, #217, #445
Resolves #153, #196, #216

Co-authored-by: Damien Pellier <[email protected]>
Co-authored-by: Jalal azimi <[email protected]>
Co-authored-by: Phạm Tiến Thành Công <[email protected]>
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

3 participants