fix(xo-web/backup): fix reportWhen
being reset to undefined (#7235)
See Zammad#17506 Preventing `reportWhen` value from becoming undefined (and resetting to the default value _Failure_) when a mirror backup is edited without modifying this field.
This commit is contained in:
parent
439c721472
commit
c40e71ed49
@ -27,6 +27,7 @@
|
||||
- [Host/Smart reboot] Automatically retries up to a minute when `HOST_STILL_BOOTING` [#7194](https://github.com/vatesfr/xen-orchestra/issues/7194) (PR [#7231](https://github.com/vatesfr/xen-orchestra/pull/7231))
|
||||
- [Plugin/transport-slack] Compatibility with other services like Mattermost or Discord [#7130](https://github.com/vatesfr/xen-orchestra/issues/7130) (PR [#7220](https://github.com/vatesfr/xen-orchestra/pull/7220))
|
||||
- [Host/Network] Fix error "PIF_IS_PHYSICAL" when trying to remove a PIF that had already been physically disconnected [#7193](https://github.com/vatesfr/xen-orchestra/issues/7193) (PR [#7221](https://github.com/vatesfr/xen-orchestra/pull/7221))
|
||||
- [Mirror backup] Fix backup reports not being sent (PR [#7235](https://github.com/vatesfr/xen-orchestra/pull/7235))
|
||||
|
||||
### Packages to release
|
||||
|
||||
|
@ -68,7 +68,7 @@ const normalize = state => {
|
||||
schedules = mapValues(schedules, ({ id, ...schedule }) => schedule)
|
||||
settings[''] = {
|
||||
...advancedSettings,
|
||||
reportWhen: reportWhen.value,
|
||||
reportWhen: reportWhen.value ?? reportWhen,
|
||||
reportRecipients: reportRecipients.length !== 0 ? reportRecipients : undefined,
|
||||
}
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user