Zicrael / ngx-tree-dnd

Angular 7 support, data sortable draggable smart tree.
https://ngx-tree-dnd.stackblitz.io
MIT License
39 stars 11 forks source link

bug with "onFinishDeleteItem" event #53

Open ushasana opened 4 years ago

ushasana commented 4 years ago

Describe the bug when we click on delete icon(x) and call "onFinishDeleteItem" event the node not removing from myTree variable

To Reproduce Steps to reproduce the behavior:

  1. Go to 'application'
  2. Click on 'delete icon and "onFinishDeleteItem" event'
  3. See error like myTree variable not updating with deleted node

Expected behavior i want myTree variable with updated data when click on delete icon (x)

Desktop (please complete the following information):