fix varaible naming for storage in handleStorageChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
940ea453d1
commit
faea8bf08d
@ -196,7 +196,7 @@ function handleDeviceChange () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function handleStorageChange () {
|
async function handleStorageChange () {
|
||||||
let value = this.value;
|
let storage = this.value;
|
||||||
let id = this.id;
|
let id = this.id;
|
||||||
let busPrefix = id.split("_")[0]
|
let busPrefix = id.split("_")[0]
|
||||||
if (diskConfig[type][busPrefix].hasDiskImage) { // if the bus has diskImage = true
|
if (diskConfig[type][busPrefix].hasDiskImage) { // if the bus has diskImage = true
|
||||||
|
Loading…
Reference in New Issue
Block a user