mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
fix: resume schedule job error
Signed-off-by: andy.lee <andy.lee@suse.com> (cherry picked from commit 811635801142961905cf273bbba1a6186b399b44)
This commit is contained in:
parent
b96637e6d9
commit
fff6153f15
@ -64,6 +64,10 @@ export default class ScheduleVmBackup extends HarvesterResource {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get stateObj() {
|
||||||
|
return this?.metadata?.state || {};
|
||||||
|
}
|
||||||
|
|
||||||
get state() {
|
get state() {
|
||||||
return this.status?.suspended === true ? STATES.suspended.label : STATES.active.label;
|
return this.status?.suspended === true ? STATES.suspended.label : STATES.active.label;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user