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
2025-02-07 03:23:49 +00:00
committed by Mergify
parent e79f493cb6
commit 18bfbbaac1
2 changed files with 7 additions and 1 deletions
@@ -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);
}
});