From 095c6a66bc3e5a9d7d68f27711ce4e411f68027e Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 11 Dec 2022 20:02:39 -0800 Subject: [PATCH] fix instance status issue --- node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js b/node.js index c0286d5..d907c6a 100644 --- a/node.js +++ b/node.js @@ -47,7 +47,7 @@ class Node extends HTMLElement { let lxcDiv = document.createElement("div"); for (let i = 0; i < lxc.length; i++) { let instanceParagraph = document.createElement("p"); - instanceParagraph.innerText = `CT | ${lxc[i].vmid} | ${lxc[i].name} | ${qemu[i].status}`; + instanceParagraph.innerText = `CT | ${lxc[i].vmid} | ${lxc[i].name} | ${lxc[i].status}`; instanceParagraph.style.color = lxc[i].status == "running" ? "#00ff00" : "#ff0000"; lxcDiv.append(instanceParagraph); }