mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Add missing empty devices check
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
b5872c8945
commit
63381b350f
@ -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,
|
||||
];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user