From 75330e8a59e9fec33722e311f1cae7ba7448ee4d Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 20 Mar 2025 19:01:50 +0000 Subject: [PATCH] fix bug preventing opening instance console --- web/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/scripts/index.js b/web/scripts/index.js index 25db0fb..84eb37c 100644 --- a/web/scripts/index.js +++ b/web/scripts/index.js @@ -185,7 +185,7 @@ class InstanceCard extends HTMLElement { handleConsoleButton () { if (!this.actionLock && this.status === "running") { - const data = { console: `${this.type === "qemu" ? "kvm" : "lxc"}`, vmid: this.vmid, vmname: this.name, node: this.node, resize: "off", cmd: "" }; + const data = { console: `${this.type === "qemu" ? "kvm" : "lxc"}`, vmid: this.vmid, vmname: this.name, node: this.node.name, resize: "off", cmd: "" }; data[`${this.type === "qemu" ? "novnc" : "xtermjs"}`] = 1; goToURL(window.PVE, data, true); }