mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
fix volume isEncrypted logic
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
e13b0eea0c
commit
7293e65fb4
@ -214,7 +214,7 @@ export default class HciPv extends HarvesterResource {
|
||||
}
|
||||
|
||||
get isEncrypted() {
|
||||
return Boolean(this.relatedPV?.spec.csi.volumeAttributes.encrypted) || false;
|
||||
return this.relatedPV?.spec.csi.volumeAttributes.encrypted === 'true';
|
||||
}
|
||||
|
||||
get longhornVolume() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user