mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-07 18:44:13 +00:00
Update project-map.component.ts
This commit is contained in:
parent
7be137dc1c
commit
56554f6d0c
@ -423,7 +423,16 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
|
||||
this.toasterService.success('Node has been deleted');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
selected
|
||||
.filter((item) => item instanceof MapDrawing)
|
||||
.forEach((item: MapDrawing) => {
|
||||
const drawing = this.mapDrawingToDrawing.convert(item);
|
||||
this.drawingService.delete(this.server, drawing).subscribe((data) => {
|
||||
this.toasterService.success('Drawing has been deleted');
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user