fix missing increment
This commit is contained in:
parent
2104a0e15e
commit
99ef947b1c
@ -25,6 +25,7 @@ async function populateForm (node, type, vmid) {
|
|||||||
let i = 0;
|
let i = 0;
|
||||||
while(Object.hasOwn(config.data, `sata${i}`)){
|
while(Object.hasOwn(config.data, `sata${i}`)){
|
||||||
addFormLine(`sata${i}`, `SATA ${i}`, {type: "text", value: config.data[`sata${i}`]});
|
addFormLine(`sata${i}`, `SATA ${i}`, {type: "text", value: config.data[`sata${i}`]});
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user