fix unable to add/delete new hard disk

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee
2025-02-06 21:41:25 +08:00
parent 50bdd53186
commit cbb66175f6
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);
}
});