fix varaible naming for storage in handleStorageChange

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-17 11:45:29 -08:00
parent 940ea453d1
commit faea8bf08d

View File

@ -196,7 +196,7 @@ function handleDeviceChange () {
}
async function handleStorageChange () {
let value = this.value;
let storage = this.value;
let id = this.id;
let busPrefix = id.split("_")[0]
if (diskConfig[type][busPrefix].hasDiskImage) { // if the bus has diskImage = true