diff --git a/pkg/harvester/models/harvester/persistentvolumeclaim.js b/pkg/harvester/models/harvester/persistentvolumeclaim.js index d960d7673a1..d9d23c37113 100644 --- a/pkg/harvester/models/harvester/persistentvolumeclaim.js +++ b/pkg/harvester/models/harvester/persistentvolumeclaim.js @@ -217,7 +217,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() {