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

Commit

Permalink
Altered foreach syntax due to jasmine errors
Browse files Browse the repository at this point in the history
  • Loading branch information
t11947 authored Jan 20, 2022
1 parent 8c204f4 commit 2240001
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 @@ -664,7 +664,7 @@ function GraphController($q, graph, config, error, loading, query, operationOpti

var removePreviouslyRemovedElements = function() {
var elements = cytoscapeGraph.elements();
graph.getRemovedElements().forEach(removedElement => {
graph.getRemovedElements().forEach(function(removedElement) {
var element = elements.getElementById(removedElement.id());
if(element && element.id()) {
element.remove();
Expand Down

0 comments on commit 2240001

Please sign in to comment.