mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
feat: add volume expansion checkbox in storage class configuration (#911)
* feat: add support for volume expansion in storage configuration Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: update volume expansion wording Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: hide checkbox if feature flag is not enabled Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: revert unneeded change Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -96,6 +96,10 @@ export default class HciStorageClass extends StorageClass {
|
||||
return this.$rootGetters['harvester-common/getFeatureEnabled']('volumeEncryption');
|
||||
}
|
||||
|
||||
get expandOnlineEncryptedVolumeFeatureEnabled() {
|
||||
return this.$rootGetters['harvester-common/getFeatureEnabled']('expandOnlineEncryptedVolume');
|
||||
}
|
||||
|
||||
get thirdPartyStorageFeatureEnabled() {
|
||||
return this.$rootGetters['harvester-common/getFeatureEnabled']('thirdPartyStorage');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user