mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-21 16:22:08 +08:00
Add missing empty devices check
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -100,7 +100,7 @@ export default {
|
||||
});
|
||||
|
||||
const devices = [
|
||||
...this.otherDevices(this.value.domain.devices.hostDevices),
|
||||
...this.otherDevices(this.value.domain.devices.hostDevices || []),
|
||||
...formatted,
|
||||
];
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
});
|
||||
|
||||
const devices = [
|
||||
...this.otherDevices(this.value.domain.devices.hostDevices),
|
||||
...this.otherDevices(this.value.domain.devices.hostDevices || []),
|
||||
...formatted,
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user