mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-26 02:20:49 +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 = [
|
const devices = [
|
||||||
...this.otherDevices(this.value.domain.devices.hostDevices),
|
...this.otherDevices(this.value.domain.devices.hostDevices || []),
|
||||||
...formatted,
|
...formatted,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const devices = [
|
const devices = [
|
||||||
...this.otherDevices(this.value.domain.devices.hostDevices),
|
...this.otherDevices(this.value.domain.devices.hostDevices || []),
|
||||||
...formatted,
|
...formatted,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user