diff --git a/src/components/node-list-tree/node-list-tree.js b/src/components/node-list-tree/node-list-tree.js index 97486df14..48b702f3e 100644 --- a/src/components/node-list-tree/node-list-tree.js +++ b/src/components/node-list-tree/node-list-tree.js @@ -100,7 +100,6 @@ const TreeListProvider = ({ nodeSelected, modularPipelinesSearchResult, nodeDisabledViaModularPipeline, - searchValue, modularPipelinesTree, onItemChange, onItemMouseEnter, diff --git a/src/store/normalize-data.js b/src/store/normalize-data.js index 4278889cf..173f18c4f 100644 --- a/src/store/normalize-data.js +++ b/src/store/normalize-data.js @@ -289,17 +289,8 @@ const normalizeData = (data, expandAllPipelines) => { return state; } - if (data.nodes) { - console.log(data.nodes); - data.nodes.sort((a, b) => a.id.localeCompare(b.id)); - data.nodes.forEach(addNode(state)); - } - - if (data.edges) { - console.log(data.edges); - data.edges.sort((a, b) => a.id.localeCompare(b.id)); - data.edges.forEach(addEdge(state)); - } + data.nodes.forEach(addNode(state)); + data.edges.forEach(addEdge(state)); if (data.pipelines) { data.pipelines.forEach(addPipeline(state)); @@ -338,7 +329,6 @@ const normalizeData = (data, expandAllPipelines) => { data.tags.forEach(addTag(state)); } if (data.layers) { - data.layers.sort((a, b) => a.id.localeCompare(b.id)); data.layers.forEach(addLayer(state)); }