mirror of
https://github.com/octoleo/syncthing.git
synced 2024-09-19 21:29:01 +00:00
gui: Folder is out of sync when it needs deletes, too (fixes #3588)
This commit is contained in:
parent
d328e0fb75
commit
6d3160b0ab
@ -654,7 +654,7 @@ angular.module('syncthing.core')
|
|||||||
if (state === 'error') {
|
if (state === 'error') {
|
||||||
return 'stopped'; // legacy, the state is called "stopped" in the GUI
|
return 'stopped'; // legacy, the state is called "stopped" in the GUI
|
||||||
}
|
}
|
||||||
if (state === 'idle' && $scope.model[folderCfg.id].needFiles > 0) {
|
if (state === 'idle' && $scope.model[folderCfg.id].needFiles + $scope.model[folderCfg.id].needDeletes > 0) {
|
||||||
return 'outofsync';
|
return 'outofsync';
|
||||||
}
|
}
|
||||||
if (state === 'scanning') {
|
if (state === 'scanning') {
|
||||||
|
Loading…
Reference in New Issue
Block a user