fix instance icon assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
72e0407be2
commit
93490a7e65
@ -47,7 +47,7 @@ class Instance extends HTMLElement {
|
||||
}
|
||||
|
||||
let nodeImg = this.shadowElement.querySelector("#node-status");
|
||||
if (data.status === "undefined") {
|
||||
if (data.status === "unknown") {
|
||||
data.status = "stopped";
|
||||
}
|
||||
nodeImg.src = `images/nodes/${data.node.status}.svg`;
|
||||
|
Loading…
Reference in New Issue
Block a user