From 8341b88c763987e2a0de9cf8a749da2b07370598 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 20 Dec 2022 18:01:44 -0800 Subject: [PATCH] add colon to sata config --- scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.js b/scripts/config.js index 77eb049..bc5fe3e 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -34,7 +34,7 @@ async function populateForm (node, type, vmid) { let sata = config.data[`sata${i}`]; sata = `{"${sata.replaceAll(":", '":"').replaceAll("=", '":"').replaceAll(",", '","')}"}`; sata = JSON.parse(sata); - addFormLine("resources", `sata${i}`, `SATA ${i}`, {type: "text", value: sata.size}); + addFormLine("resources", `sata${i}`, `SATA ${i}:`, {type: "text", value: sata.size}); i++; } }