Minor changes to action view

This commit is contained in:
frikky
2021-05-18 05:47:11 +02:00
parent 22098f72e0
commit ef04064567
3 changed files with 9 additions and 6 deletions
+6 -2
View File
@@ -53,11 +53,15 @@ const ParsedAction = (props) => {
while(true) {
for (var key in allkeys) {
var currentnode = cy.getElementById(allkeys[key])
if (handled.includes(currentnode.data().id)) {
if (currentnode === undefined) {
continue
}
if (handled.includes(currentnode.data("id"))) {
continue
} else {
// Get the name / label here too?
handled.push(currentnode.data().id)
handled.push(currentnode.data("id"))
results.push(currentnode.data())
}