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
|
||||
|
||||
- [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
|
||||
|
||||
|
@ -14,6 +14,7 @@ const MODES = {
|
||||
__proto__: null,
|
||||
|
||||
compression: 'full',
|
||||
fullInterval: 'delta',
|
||||
}
|
||||
|
||||
const getSettingsWithNonDefaultValue = (mode, settings) =>
|
||||
|
@ -935,16 +935,18 @@ export default decorate([
|
||||
placeholder={formatMessage(messages.timeoutUnit)}
|
||||
/>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<label htmlFor={state.inputFullIntervalId}>
|
||||
<strong>{_('fullBackupInterval')}</strong>
|
||||
</label>{' '}
|
||||
<Number
|
||||
id={state.inputFullIntervalId}
|
||||
onChange={effects.setFullInterval}
|
||||
value={fullInterval}
|
||||
/>
|
||||
</FormGroup>
|
||||
{state.isDelta && (
|
||||
<FormGroup>
|
||||
<label htmlFor={state.inputFullIntervalId}>
|
||||
<strong>{_('fullBackupInterval')}</strong>
|
||||
</label>{' '}
|
||||
<Number
|
||||
id={state.inputFullIntervalId}
|
||||
onChange={effects.setFullInterval}
|
||||
value={fullInterval}
|
||||
/>
|
||||
</FormGroup>
|
||||
)}
|
||||
{state.isFull && (
|
||||
<FormGroup>
|
||||
<label htmlFor={state.compressionId}>
|
||||
|
Loading…
Reference in New Issue
Block a user