Implement closable treeview

This commit is contained in:
Eric NGUYEN 2023-02-24 12:38:42 +01:00
parent e1592f56e7
commit 623003b60c
2 changed files with 121 additions and 9 deletions

View file

@ -105,7 +105,10 @@ export function * MakeRecursionDFSIterator(
currentTransform
};
if (enableHideChildrenInTreeview && root.properties.hideChildrenInTreeview) {
if (
(enableHideChildrenInTreeview && root.properties.hideChildrenInTreeview) ||
('isClosed' in root && root.isClosed === true)
) {
return;
}