mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Merge pull request #122 from a110605/issue_7150
fix: isEncrypted breaks all the volume page
This commit is contained in:
commit
7b3857cb38
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user