From f7a11046e07fed7bffa42b67b773f92a0b2a8fae Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 16 Jan 2023 15:14:34 -0800 Subject: [PATCH] fix storage options populating Signed-off-by: Arthur Lu --- scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.js b/scripts/config.js index 1a5d1c1..f67b3ad 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -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)); }