1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js

Thanks for the tip, I'll remember next time.

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Daniele 2021-04-28 23:37:26 +02:00 committed by GitHub
parent d47a8aa562
commit a150d8e289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,7 +356,7 @@
delete that._items[key]; delete that._items[key];
} }
} }
that._data = that._data.filter(data => data.id !== item.id) that._data = that._data.filter(function(data) { return data.id !== item.id})
} }
} }
item.treeList.insertChildAt = function(newItem,position,select) { item.treeList.insertChildAt = function(newItem,position,select) {