Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tree): use previous state when refreshing dataset afterward
- use case: if we load our initial dataset with all collapsed, but then we click on "Expand All", we would expect that the next time we overwrite/refresh the dataset it would use last state (which was all expanded NOT the original `initiallyCollapsed` since we aren't on 1st load anymore, we should always use last state). - also replace `exclude` Type to `extract` to make it less confusing on what remains (basically `exclude` is the inverse, so it's kinda confusing since we don't know what remains, while `extract` is exacly the provided type that remains)
- Loading branch information
1 parent
5b27e22
commit 0982474
Showing
3 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters