Add missing empty devices check

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2024-09-09 12:03:19 +02:00
parent b5872c8945
commit 63381b350f
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ export default {
});
const devices = [
...this.otherDevices(this.value.domain.devices.hostDevices),
...this.otherDevices(this.value.domain.devices.hostDevices || []),
...formatted,
];

View File

@ -80,7 +80,7 @@ export default {
});
const devices = [
...this.otherDevices(this.value.domain.devices.hostDevices),
...this.otherDevices(this.value.domain.devices.hostDevices || []),
...formatted,
];