fix(xo-web/backup-ng/new): ability to edit a schedule's state (#3228)
Fixes #3223
This commit is contained in:
parent
b95fc86667
commit
aba7b730f5
@ -15,6 +15,7 @@
|
||||
- [Backup Reports] Report not sent if reportWhen failure and at least a VM is successfull [#3181](https://github.com/vatesfr/xen-orchestra/issues/3181) (PR [#3185](https://github.com/vatesfr/xen-orchestra/pull/3185))
|
||||
- [Backup NG] Correctly migrate report setting from legacy jobs [#3180](https://github.com/vatesfr/xen-orchestra/issues/3180) (PR [#3206](https://github.com/vatesfr/xen-orchestra/pull/3206))
|
||||
- [Backup NG] remove incomplete XVA files [#3159](https://github.com/vatesfr/xen-orchestra/issues/3159) (PR [#3215](https://github.com/vatesfr/xen-orchestra/pull/3215))
|
||||
- [Backup NG form] Ability to edit a schedule's state [#3223](https://github.com/vatesfr/xen-orchestra/issues/3223) (PR [#3228](https://github.com/vatesfr/xen-orchestra/pull/3228))
|
||||
|
||||
### Released packages
|
||||
|
||||
|
@ -228,13 +228,15 @@ export default [
|
||||
if (
|
||||
newSchedule.cron !== oldSchedule.cron ||
|
||||
newSchedule.name !== oldSchedule.name ||
|
||||
newSchedule.timezone !== oldSchedule.timezone
|
||||
newSchedule.timezone !== oldSchedule.timezone ||
|
||||
newSchedule.enabled !== oldSchedule.enabled
|
||||
) {
|
||||
return editSchedule({
|
||||
id,
|
||||
cron: newSchedule.cron,
|
||||
name: newSchedule.name,
|
||||
timezone: newSchedule.timezone,
|
||||
enabled: newSchedule.enabled,
|
||||
})
|
||||
}
|
||||
})
|
||||
@ -249,6 +251,7 @@ export default [
|
||||
cron: schedule.cron,
|
||||
name: schedule.name,
|
||||
timezone: schedule.timezone,
|
||||
enabled: schedule.enabled,
|
||||
})
|
||||
|
||||
settings[id] = settings[tmpId]
|
||||
|
Loading…
Reference in New Issue
Block a user