From e5a0e92ebb1ec7701283887df8e9716a3bbb5641 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sat, 23 Dec 2023 02:07:25 +0000 Subject: [PATCH] fix instance power button prompt --- scripts/instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/instance.js b/scripts/instance.js index f095698..c22d84d 100644 --- a/scripts/instance.js +++ b/scripts/instance.js @@ -162,7 +162,7 @@ class InstanceCard extends HTMLElement { async handlePowerButton () { if (!this.actionLock) { const header = `${this.status === "running" ? "Stop" : "Start"} VM ${this.vmid}`; - const body = `

Are you sure you want to ${this.status === "running" ? "stop" : "start"} VM

${this.vmid}

`; + const body = `

Are you sure you want to ${this.status === "running" ? "stop" : "start"} VM ${this.vmid}

`; dialog(header, body, async (result, form) => { if (result === "confirm") {