add boot order card in config
This commit is contained in:
@@ -30,6 +30,7 @@ async function init () {
|
||||
populateDisk();
|
||||
populateNetworks();
|
||||
populateDevices();
|
||||
populateBoot();
|
||||
|
||||
document.querySelector("#exit").addEventListener("click", handleFormExit);
|
||||
}
|
||||
@@ -616,6 +617,12 @@ async function populateDevices () {
|
||||
}
|
||||
}
|
||||
|
||||
async function populateBoot () {
|
||||
if (type === "qemu") {
|
||||
document.querySelector("#boot-card").classList.remove("none");
|
||||
}
|
||||
}
|
||||
|
||||
function addDeviceLine (fieldset, prefix, deviceID, deviceDetails, deviceName) {
|
||||
const field = document.querySelector(`#${fieldset}`);
|
||||
|
||||
|
Reference in New Issue
Block a user