Skip to content

Commit

Permalink
fix storage class page broken if get unknown provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
a110605 committed Nov 8, 2024
1 parent 42936c2 commit e6796a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class HciStorageClass extends StorageClass {
key = `harvester.storage.storageClass.lvm.label`;
}

return this.$rootGetters['i18n/t'](key);
return key ? this.$rootGetters['i18n/t'](key) : null;
}

get isLonghornV2() {
Expand Down

0 comments on commit e6796a6

Please sign in to comment.