|
|
@ -335,11 +335,13 @@ export default { |
|
|
allSelect(msg){ |
|
|
allSelect(msg){ |
|
|
if (msg.entities && msg.entities.length > 0) { |
|
|
if (msg.entities && msg.entities.length > 0) { |
|
|
msg.entities.forEach(ent => { |
|
|
msg.entities.forEach(ent => { |
|
|
|
|
|
ent.selected=true |
|
|
this.selectedEntities.push(ent); |
|
|
this.selectedEntities.push(ent); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
if (msg.relations && msg.relations.length > 0) { |
|
|
if (msg.relations && msg.relations.length > 0) { |
|
|
msg.relations.forEach(rel => { |
|
|
msg.relations.forEach(rel => { |
|
|
|
|
|
rel.selected=true |
|
|
this.selectedRelations.push(rel); |
|
|
this.selectedRelations.push(rel); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|