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