fix storage options populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
ea06755a1e
commit
0aa983594f
@ -131,7 +131,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti
|
||||
}
|
||||
|
||||
let storageSelect = document.createElement("select");
|
||||
storageOptions.forEach((element) => {
|
||||
storageOptions.data.forEach((element) => {
|
||||
if (element.content.includes(diskConfig[type].storageContent)) { // check if the storage contains rootdir or images content
|
||||
storageSelect.add(new Option(element.storage));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user