mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 14:16:05 +08:00
fix: isEncrypted breaks all the volume page (#253)
Signed-off-by: andy.lee <andy.lee@suse.com> (cherry picked from commit2232e56ba1) (cherry picked from commitc188f3367d) Co-authored-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -238,7 +238,7 @@ export default class HciPv extends HarvesterResource {
|
||||
}
|
||||
|
||||
get isEncrypted() {
|
||||
return this.relatedPV?.spec.csi.volumeAttributes.encrypted === 'true';
|
||||
return this.relatedPV?.spec?.csi?.volumeAttributes?.encrypted === 'true';
|
||||
}
|
||||
|
||||
get longhornVolume() {
|
||||
|
||||
Reference in New Issue
Block a user