Skip to content

Commit

Permalink
Merge pull request #1229 from harvester/mergify/bp/release-harvester-…
Browse files Browse the repository at this point in the history
…v1.4/pr-1227

fix storage class page broken if get unknown provisioner (backport #1227)
  • Loading branch information
torchiaf authored Nov 8, 2024
2 parents ffea3d7 + 5d91a13 commit b6cefc3
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 b6cefc3

Please sign in to comment.