fix(xo-web/backup-ng/new): job's global settings can be undefined (#3275)

Introduced by the PR #3237
This commit is contained in:
badrAZ 2018-08-07 16:15:02 +02:00 committed by Pierre Donias
parent 7ad4fc0e6c
commit 0d88a9f8f4

View File

@ -266,7 +266,7 @@ export default [
})
)
const globalSettings = props.job.settings['']
const globalSettings = props.job.settings[''] || {}
const {
concurrency = globalSettings.concurrency,
offlineSnapshot = globalSettings.offlineSnapshot,