mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-24 15:16:38 +00:00
clean
This commit is contained in:
parent
56138f7fb7
commit
290ca022e2
@ -26,7 +26,6 @@ export class DrawingsDraggableListener {
|
||||
let drawings = this.selectionManager.getSelectedDrawings();
|
||||
if (drawings.filter((n: Drawing) => n.drawing_id === evt.datum.drawing_id).length === 0) {
|
||||
this.selectionManager.setSelectedDrawings([evt.datum]);
|
||||
drawings = this.selectionManager.getSelectedDrawings();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -30,7 +30,6 @@ export class NodesDraggableListener {
|
||||
let nodes = this.selectionManager.getSelectedNodes();
|
||||
if (nodes.filter((n: Node) => n.node_id === evt.datum.node_id).length === 0) {
|
||||
this.selectionManager.setSelectedNodes([evt.datum]);
|
||||
nodes = this.selectionManager.getSelectedNodes();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user