Skip to content

Commit

Permalink
ensure sigma's protected node attributes such as type or color can no…
Browse files Browse the repository at this point in the history
…t be overwritten by user defined tags

(closes #470)
  • Loading branch information
boogheta committed Jan 11, 2023
1 parent 738bbf6 commit 08fcaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyphe_frontend/app/components/webentitiesNetworkWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ angular.module('hyphe.webentitiesNetworkWidgetComponent', [])
} catch(e) {
tagVal = ''
}
g.setNodeAttribute(nid, tagCat.trim(), tagVal);
g.setNodeAttribute(nid, "tag_" + tagCat.trim(), tagVal);
}
// g.removeNodeAttribute(nid, "tags");
})
Expand Down

0 comments on commit 08fcaed

Please sign in to comment.