From a7c1baa35ce4df70606b0a199fb6f4cc2e417e9d 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); }