mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
Merge pull request #179 from harvester/mergify/bp/release-harvester-v1.5/pr-178
Fix undefined reading harvesterhci.io/storageClassName (backport #178)
This commit is contained in:
commit
2e3536abc6
@ -201,7 +201,7 @@ export default class HciVmImage extends HarvesterResource {
|
||||
}
|
||||
|
||||
get imageStorageClass() {
|
||||
return this?.metadata?.annotations[HCI_ANNOTATIONS.STORAGE_CLASS] || '';
|
||||
return this?.metadata?.annotations?.[HCI_ANNOTATIONS.STORAGE_CLASS] || '';
|
||||
}
|
||||
|
||||
get imageMessage() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user