mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
fix: get sourceSchedule exception
Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> (cherry picked from commit 12cadbf6675b34782336d0ec590ca0ba476d34be)
This commit is contained in:
parent
8d338b5f72
commit
efd93c5e52
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user