mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
* fix unable to detach PCI & USB device in VM edit page
Signed-off-by: Andy Lee <andy.lee@suse.com>
* refactor based on comment
Signed-off-by: Andy Lee <andy.lee@suse.com>
* using set from shell/utils/object
Signed-off-by: Andy Lee <andy.lee@suse.com>
---------
Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 2993ddb82c)
Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -101,9 +101,7 @@ export default {
|
||||
...formatted,
|
||||
];
|
||||
|
||||
if (devices.length > 0) {
|
||||
set(this.value.domain.devices, 'hostDevices', devices);
|
||||
}
|
||||
set(this.value.domain.devices, 'hostDevices', devices);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user