mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
fix undefined reading harvesterhci.io/storageClassName
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
36257299e1
commit
54f85963ea
@ -201,7 +201,7 @@ export default class HciVmImage extends HarvesterResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get imageStorageClass() {
|
get imageStorageClass() {
|
||||||
return this?.metadata?.annotations[HCI_ANNOTATIONS.STORAGE_CLASS] || '';
|
return this?.metadata?.annotations?.[HCI_ANNOTATIONS.STORAGE_CLASS] || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
get imageMessage() {
|
get imageMessage() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user