diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js index 5c9bdb5fe..df9592508 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js @@ -356,7 +356,7 @@ 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) {