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-04-08 15:03:14 +08:00
committed by Andy Lee
parent 696af4e04f
commit e73c62739f
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);
}
});