fix(xo-web/backup-ng/new): always show compression when full mode (#3345)
Fixes #3236
This commit is contained in:
parent
627c06f4a8
commit
d15efae43f
@ -13,6 +13,7 @@
|
||||
- [Backup reports] Send report for the interrupted backup jobs on the server startup [#2998](https://github.com/vatesfr/xen-orchestra/issues/#2998) (PR [3164](https://github.com/vatesfr/xen-orchestra/pull/3164) [3154](https://github.com/vatesfr/xen-orchestra/pull/3154))
|
||||
- [Backup NG form] Move VMs' selection to a dedicated card [#2711](https://github.com/vatesfr/xen-orchestra/issues/2711) (PR [#3338](https://github.com/vatesfr/xen-orchestra/pull/3338))
|
||||
- [Backup NG smart mode] Exclude replicated VMs [#2338](https://github.com/vatesfr/xen-orchestra/issues/2338) (PR [#3312](https://github.com/vatesfr/xen-orchestra/pull/3312))
|
||||
- [Backup NG form] Show the compression checkbox when the full mode is active [#3236](https://github.com/vatesfr/xen-orchestra/issues/3236) (PR [#3345](https://github.com/vatesfr/xen-orchestra/pull/3345))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
@ -545,9 +545,6 @@ export default [
|
||||
state.copyMode && !state.copyRetentionExists,
|
||||
missingSnapshotRetention: state =>
|
||||
state.snapshotMode && !state.snapshotRetentionExists,
|
||||
showCompression: state =>
|
||||
state.isFull &&
|
||||
(state.exportRetentionExists || state.copyRetentionExists),
|
||||
exportMode: state => state.backupMode || state.deltaMode,
|
||||
copyMode: state => state.drMode || state.crMode,
|
||||
exportRetentionExists: createDoesRetentionExist('exportRetention'),
|
||||
@ -851,7 +848,7 @@ export default [
|
||||
/>
|
||||
</label>
|
||||
</FormGroup>
|
||||
{state.showCompression && (
|
||||
{state.isFull && (
|
||||
<FormGroup>
|
||||
<label>
|
||||
<strong>{_('useCompression')}</strong>{' '}
|
||||
|
Loading…
Reference in New Issue
Block a user