diff --git a/scripts/config.js b/scripts/config.js index 1f05d28..f7bd1cc 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -142,7 +142,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti let sizeInput = document.createElement("input"); sizeInput.type = "number"; sizeInput.min = 0; - sizeInput.value = size; + sizeInput.value = size.replace("G", ""); if (!diskConfig[type][busPrefix].resizable) { sizeInput.disabled = true; }