From f6e370db2c16c48968de3c1e1e9b268632a65dba 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") {