mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
fix: when choose encrypt can only choose encrypted storage class when creating image
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -58,6 +58,10 @@ export default class HciStorageClass extends StorageClass {
|
||||
return key ? this.$rootGetters['i18n/t'](key) : this.provisioner;
|
||||
}
|
||||
|
||||
get isEncrypted() {
|
||||
return this.parameters?.encrypted === 'true';
|
||||
}
|
||||
|
||||
get isLonghornV2() {
|
||||
return this.provisioner === LONGHORN_DRIVER && this.longhornVersion === DATA_ENGINE_V2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user