mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
fix golden image error when creating LVM volume
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
6e5532e497
commit
ca7eccd688
@ -60,7 +60,7 @@ export default {
|
|||||||
this.$store.dispatch('type-map/configureType', { match: HCI.VOLUME, isCreatable: false });
|
this.$store.dispatch('type-map/configureType', { match: HCI.VOLUME, isCreatable: false });
|
||||||
}
|
}
|
||||||
// we only show the non golden image PVCs in the list
|
// we only show the non golden image PVCs in the list
|
||||||
const pvcs = hash.pvcs.filter((pvc) => pvc.metadata.annotations[HCI_ANNOTATIONS.GOLDEN_IMAGE] !== 'true');
|
const pvcs = hash.pvcs.filter((pvc) => pvc?.metadata?.annotations?.[HCI_ANNOTATIONS.GOLDEN_IMAGE] !== 'true');
|
||||||
|
|
||||||
this.rows = pvcs;
|
this.rows = pvcs;
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user