show volume encryption in vm detail volume tab

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee
2024-10-23 17:01:31 +02:00
committed by Francesco Torchia
parent 958e97f769
commit db21093670
8 changed files with 90 additions and 37 deletions
@@ -214,7 +214,7 @@ export default class HciPv extends HarvesterResource {
}
get isEncrypted() {
return this.relatedPV?.spec.csi.volumeAttributes.encrypted || false;
return Boolean(this.relatedPV?.spec.csi.volumeAttributes.encrypted) || false;
}
get longhornVolume() {