From a150d8e2899f494781730123b369feedbaa3e762 Mon Sep 17 00:00:00 2001 From: Daniele Date: Wed, 28 Apr 2021 23:37:26 +0200 Subject: [PATCH] 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 --- .../@node-red/editor-client/src/js/ui/common/treeList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {