fix missing increment

This commit is contained in:
Arthur Lu 2022-12-20 15:38:53 -08:00
parent 589ecc1f9e
commit e31c91679f

View File

@ -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++;
}
}