Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
gh-496: Fix bug with concat
Browse files Browse the repository at this point in the history
  • Loading branch information
t92549 committed Jul 14, 2022
1 parent 2240001 commit 1f7662c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main/webapp/app/graph/graph-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ function GraphController($q, graph, config, error, loading, query, operationOpti
*/
vm.removeSelected = function() {
var removedElements = cytoscapeGraph.filter(":selected").remove().toArray();
graph.getRemovedElements().concat(removedElements);
graph.setRemovedElements(graph.getRemovedElements().concat(removedElements));

cytoscapeGraph.elements().unselect();
vm.selectedElements.entities = [];
Expand Down

0 comments on commit 1f7662c

Please sign in to comment.