From e31c91679fcebc474b23b2e081e67c636fc3bf86 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 20 Dec 2022 15:38:53 -0800 Subject: [PATCH] fix missing increment --- scripts/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/config.js b/scripts/config.js index 9595b8b..5f5604c 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -25,6 +25,7 @@ async function populateForm (node, type, vmid) { let i = 0; while(Object.hasOwn(config.data, `sata${i}`)){ addFormLine(`sata${i}`, `SATA ${i}`, {type: "text", value: config.data[`sata${i}`]}); + i++; } }