Fix link and group without labels

This commit is contained in:
Ian Gulliver
2019-07-14 03:28:46 +00:00
parent dde00e74df
commit 5f0d7750d4
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ class GraphGroup {
let group = new GraphGroup();
group.id = item.id;
group.label = item.label;
group.labelId = item.labelObj.id;
group.labelId = item.labelObj ? item.labelObj.id : null;
group.nodeLabels = new Set();
for (let member of item.members) {
if (member.label == '') {