mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
gui: Fix rescan interval when add encrypted folder with watch for changes enabled (fixes #8570) (#8571)
This commit is contained in:
parent
36221b70ac
commit
06a1635d1d
@ -1979,10 +1979,10 @@ angular.module('syncthing.core')
|
||||
return;
|
||||
}
|
||||
var idx;
|
||||
if ($scope.currentFolder.fsWatcherEnabled) {
|
||||
idx = 1;
|
||||
} else if ($scope.currentFolder.type === 'receiveencrypted') {
|
||||
if ($scope.currentFolder.type === 'receiveencrypted') {
|
||||
idx = 2;
|
||||
} else if ($scope.currentFolder.fsWatcherEnabled) {
|
||||
idx = 1;
|
||||
} else {
|
||||
idx = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user