gui: Fix rescan interval when add encrypted folder with watch for changes enabled (fixes #8570) (#8571)
This commit is contained in:
@@ -1979,10 +1979,10 @@ angular.module('syncthing.core')
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var idx;
|
var idx;
|
||||||
if ($scope.currentFolder.fsWatcherEnabled) {
|
if ($scope.currentFolder.type === 'receiveencrypted') {
|
||||||
idx = 1;
|
|
||||||
} else if ($scope.currentFolder.type === 'receiveencrypted') {
|
|
||||||
idx = 2;
|
idx = 2;
|
||||||
|
} else if ($scope.currentFolder.fsWatcherEnabled) {
|
||||||
|
idx = 1;
|
||||||
} else {
|
} else {
|
||||||
idx = 0;
|
idx = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user