Fix link and group without labels
This commit is contained in:
@@ -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 == '') {
|
||||
|
||||
Reference in New Issue
Block a user