mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-14 05:31:44 +00:00
fix: isEncrypted breaks all the volume page (#253)
Signed-off-by: andy.lee <andy.lee@suse.com> (cherry picked from commit 2232e56ba13bef96ee6e44966fdd7c328270df8c) (cherry picked from commit c188f3367d58cc6df02972b5d108845c659dd867) Co-authored-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
b0609020cc
commit
1e02dbffe3
@ -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