mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Merge pull request #178 from a110605/fix_error
Fix undefined reading harvesterhci.io/storageClassName
This commit is contained in:
commit
d923239b9d
@ -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