mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-18 06:48:09 +00:00
suspend issues
This commit is contained in:
@ -25,7 +25,7 @@ export class StartNodeActionComponent implements OnInit, OnChanges {
|
|||||||
if(changes.nodes) {
|
if(changes.nodes) {
|
||||||
this.isNodeWithStoppedStatus = false;
|
this.isNodeWithStoppedStatus = false;
|
||||||
this.nodes.forEach((node) => {
|
this.nodes.forEach((node) => {
|
||||||
if (node.status === 'stopped') {
|
if (node.status === 'stopped' || node.status === 'suspended') {
|
||||||
this.isNodeWithStoppedStatus = true;
|
this.isNodeWithStoppedStatus = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -50,6 +50,9 @@
|
|||||||
<svg *ngIf="node.status==='started'" width="10" height="10">
|
<svg *ngIf="node.status==='started'" width="10" height="10">
|
||||||
<rect class="status_started" x="0" y="0" width="10" height="10" fill="green"></rect>
|
<rect class="status_started" x="0" y="0" width="10" height="10" fill="green"></rect>
|
||||||
</svg>
|
</svg>
|
||||||
|
<svg *ngIf="node.status==='suspended'" width="10" height="10">
|
||||||
|
<rect class="status_suspended" x="0" y="0" width="10" height="10" fill="yellow"></rect>
|
||||||
|
</svg>
|
||||||
<svg *ngIf="node.status==='stopped'" width="10" height="10">
|
<svg *ngIf="node.status==='stopped'" width="10" height="10">
|
||||||
<rect class="status_stopped" x="0" y="0" width="10" height="10" fill="red"></rect>
|
<rect class="status_stopped" x="0" y="0" width="10" height="10" fill="red"></rect>
|
||||||
</svg>
|
</svg>
|
||||||
|
Reference in New Issue
Block a user