fix(xo-web/backup-ng): only display full interval in case of delta (#4125)
This commit is contained in:
parent
654a2ee870
commit
cdcd7154ba
@ -10,6 +10,7 @@
|
|||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
||||||
- [Continuous Replication] Fix VHD size guess for empty files [#4105](https://github.com/vatesfr/xen-orchestra/issues/4105) (PR [#4107](https://github.com/vatesfr/xen-orchestra/pull/4107))
|
- [Continuous Replication] Fix VHD size guess for empty files [#4105](https://github.com/vatesfr/xen-orchestra/issues/4105) (PR [#4107](https://github.com/vatesfr/xen-orchestra/pull/4107))
|
||||||
|
- [Backup NG] Only display full backup interval in case of a delta backup (PR [#4125](https://github.com/vatesfr/xen-orchestra/pull/4107))
|
||||||
|
|
||||||
### Released packages
|
### Released packages
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ const MODES = {
|
|||||||
__proto__: null,
|
__proto__: null,
|
||||||
|
|
||||||
compression: 'full',
|
compression: 'full',
|
||||||
|
fullInterval: 'delta',
|
||||||
}
|
}
|
||||||
|
|
||||||
const getSettingsWithNonDefaultValue = (mode, settings) =>
|
const getSettingsWithNonDefaultValue = (mode, settings) =>
|
||||||
|
@ -935,6 +935,7 @@ export default decorate([
|
|||||||
placeholder={formatMessage(messages.timeoutUnit)}
|
placeholder={formatMessage(messages.timeoutUnit)}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
{state.isDelta && (
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<label htmlFor={state.inputFullIntervalId}>
|
<label htmlFor={state.inputFullIntervalId}>
|
||||||
<strong>{_('fullBackupInterval')}</strong>
|
<strong>{_('fullBackupInterval')}</strong>
|
||||||
@ -945,6 +946,7 @@ export default decorate([
|
|||||||
value={fullInterval}
|
value={fullInterval}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
)}
|
||||||
{state.isFull && (
|
{state.isFull && (
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<label htmlFor={state.compressionId}>
|
<label htmlFor={state.compressionId}>
|
||||||
|
Loading…
Reference in New Issue
Block a user