diff --git a/webui/src/js/models/wdt-model-definition.js b/webui/src/js/models/wdt-model-definition.js index e6c566cf8..326d509d6 100644 --- a/webui/src/js/models/wdt-model-definition.js +++ b/webui/src/js/models/wdt-model-definition.js @@ -458,9 +458,9 @@ define(['knockout', 'utils/observable-properties', 'js-yaml', 'utils/validation- this.propertiesFiles.value = [defaultPath]; } - // if there are archive updates present, but no archive file name, + // if there are archive roots present, but no archive file name, // use the file prefix to create a default file location. - if(this.archiveUpdates.length && (this.archiveFiles.value.length < 1)) { + if(this.archiveRoots().length && (this.archiveFiles.value.length < 1)) { let defaultPath = this.getDefaultArchiveFile(); this.archiveFiles.value = [defaultPath]; }