ezraroi / ngJsTree

Angular Directive for the famous JS Tree
http://ezraroi.github.io/ngJsTree/
MIT License
270 stars 101 forks source link

tree is not automatically updated when a node is removed #100

Closed pavlo-leheta closed 7 years ago

pavlo-leheta commented 7 years ago

Tree is not getting automatically updated when a node is removed by deleting that node element from the model array AFTER the tree was recreated by incrementing the version number in the tree config.

pavlo-leheta commented 7 years ago

I found a solution by incrementing a version in a tree config after removing a node element from the model array. This way it automatically updates.

ezraroi commented 7 years ago

This works without incrementing.... Please provadie a plunker