Merge pull request #103 from houhoucoop/issue-7295

fix: VM Snapshot and Backup List Views Fail to Load After Creation
This commit is contained in:
Yiya Chen 2025-01-24 10:07:42 +08:00 committed by GitHub
commit 8477f0754d
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() {