add colon to sata config
This commit is contained in:
parent
2dc311af6a
commit
3a174c6989
@ -34,7 +34,7 @@ async function populateForm (node, type, vmid) {
|
|||||||
let sata = config.data[`sata${i}`];
|
let sata = config.data[`sata${i}`];
|
||||||
sata = `{"${sata.replaceAll(":", '":"').replaceAll("=", '":"').replaceAll(",", '","')}"}`;
|
sata = `{"${sata.replaceAll(":", '":"').replaceAll("=", '":"').replaceAll(",", '","')}"}`;
|
||||||
sata = JSON.parse(sata);
|
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++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user