Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webui/src/js/models/wdt-model-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,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];
}
Expand Down