fix(xo-web/backup-ng/new): fix retention default value (#3486)
This commit is contained in:
parent
df90094cae
commit
fa88e1789c
@ -590,10 +590,18 @@ export default [
|
||||
setting.snapshotRetention
|
||||
)
|
||||
? {
|
||||
copyRetention: setting.copyRetention || DEFAULT_RETENTION,
|
||||
exportRetention: setting.exportRetention || DEFAULT_RETENTION,
|
||||
snapshotRetention:
|
||||
setting.snapshotRetention || DEFAULT_RETENTION,
|
||||
copyRetention: defined(
|
||||
setting.copyRetention,
|
||||
DEFAULT_RETENTION
|
||||
),
|
||||
exportRetention: defined(
|
||||
setting.exportRetention,
|
||||
DEFAULT_RETENTION
|
||||
),
|
||||
snapshotRetention: defined(
|
||||
setting.snapshotRetention,
|
||||
DEFAULT_RETENTION
|
||||
),
|
||||
}
|
||||
: setting
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user