fix backups in desktop

This commit is contained in:
antelle 2017-05-23 18:30:17 +02:00
parent ed7a05eae2
commit 1810480cf2
2 changed files with 4 additions and 3 deletions

View File

@ -57,13 +57,13 @@ const SettingsFileView = Backbone.View.extend({
let canBackup = false;
Object.keys(Storage).forEach(name => {
const prv = Storage[name];
if (!canBackup && prv.backup && prv.enabled) {
canBackup = true;
}
if (!prv.system && prv.enabled) {
storageProviders.push({
name: prv.name, icon: prv.icon, iconSvg: prv.iconSvg, own: name === fileStorage, backup: prv.backup
});
if (!canBackup && prv.backup) {
canBackup = true;
}
}
});
storageProviders.sort((x, y) => (x.uipos || Infinity) - (y.uipos || Infinity));

View File

@ -2,6 +2,7 @@ Release notes
-------------
##### v1.5.1 (TBD)
`-` fix #631: unicode characters in Dropbox files
`-` fix backups in desktop
`+` plugin API improvements
##### v1.5.0 (2015-05-20)