gui, lib/db: Correct space accounting of symlinks, for "out of sync" status

This commit is contained in:
Jakob Borg committed 2016-12-09 10:38:36 +01:00
1 parent a7f7058636
commit a9b03de99a
4 files changed
+5 -5

No files matched your search

@@ -654,7 +654,7 @@ angular.module('syncthing.core')
if (state === 'error') {
return 'stopped'; // legacy, the state is called "stopped" in the GUI
}
if (state === 'idle' && $scope.model[folderCfg.id].needFiles + $scope.model[folderCfg.id].needDeletes > 0) {
if (state === 'idle' && $scope.neededItems(folderCfg.id) > 0) {
return 'outofsync';
}
if (state === 'scanning') {