fix unable to add/delete new hard disk

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit cbb66175f6)
This commit is contained in:
andy.lee authored and Mergify committed 2025-02-07 03:23:49 +00:00
1 parent e79f493cb6
commit 18bfbbaac1
2 files changed
+7 -1

No files matched your search

@@ -58,7 +58,7 @@ export default {
const out = [];
blockDevices.map((b) => {
if (b.metadata.state.error) {
if (b?.metadata?.state?.error) {
out.push(b.metadata.state.message);
}
});