fix missing increment
This commit is contained in:
parent
589ecc1f9e
commit
e31c91679f
@ -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