Merge pull request #106 from harvester/mergify/bp/release-harvester-v1.5/pr-103

fix: VM Snapshot and Backup List Views Fail to Load After Creation (backport #103)
This commit is contained in:
Yiya Chen 2025-01-24 14:28:22 +08:00 committed by GitHub
commit d34279d98f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ export default class HciVmBackup extends HarvesterResource {
}
get sourceSchedule() {
return this.metadata?.annotations[HCI_ANNOTATIONS.SVM_BACKUP_ID];
return this.metadata?.annotations?.[HCI_ANNOTATIONS.SVM_BACKUP_ID];
}
get attachVM() {