fix varaible naming for storage in handleStorageChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
1 parent
940ea453d1
commit
faea8bf08d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user