mirror of https://github.com/keeweb/keeweb.git
showOnlyFilesFromConfig config option
This commit is contained in:
parent
ac1b4da549
commit
0003562085
|
@ -88,6 +88,9 @@ const AppModel = Backbone.Model.extend({
|
||||||
applyUserConfig(config) {
|
applyUserConfig(config) {
|
||||||
this.settings.set(config.settings);
|
this.settings.set(config.settings);
|
||||||
if (config.files) {
|
if (config.files) {
|
||||||
|
if (config.showOnlyFilesFromConfig) {
|
||||||
|
this.fileInfos.reset();
|
||||||
|
}
|
||||||
config.files
|
config.files
|
||||||
.filter(file => file && file.storage && file.name && file.path &&
|
.filter(file => file && file.storage && file.name && file.path &&
|
||||||
!this.fileInfos.getMatch(file.storage, file.name, file.path))
|
!this.fileInfos.getMatch(file.storage, file.name, file.path))
|
||||||
|
|
|
@ -6,6 +6,7 @@ Release notes
|
||||||
`+` keyboard-accessible autocomplete
|
`+` keyboard-accessible autocomplete
|
||||||
`+` entry auto-type context menu
|
`+` entry auto-type context menu
|
||||||
`+` `kw.require` now provides access to modules
|
`+` `kw.require` now provides access to modules
|
||||||
|
`+` showOnlyFilesFromConfig config option
|
||||||
|
|
||||||
##### v1.4.0 (2017-02-04)
|
##### v1.4.0 (2017-02-04)
|
||||||
KDBX4 format support and minor improvements
|
KDBX4 format support and minor improvements
|
||||||
|
|
|
@ -47,5 +47,6 @@
|
||||||
"name": "My file",
|
"name": "My file",
|
||||||
"path": "webdav-url",
|
"path": "webdav-url",
|
||||||
"options": { "user": "", "password": "" }
|
"options": { "user": "", "password": "" }
|
||||||
}]
|
}],
|
||||||
|
"showOnlyFilesFromConfig": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue