gui: Display rescan button when out of sync and remove deprecated folder state

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4704
This commit is contained in:
Simon Frei authored and Jakob Borg committed 2018-01-27 09:10:11 +00:00
1 parent 364f61bda6
commit ae760798e1
2 files changed
+1 -5

No files matched your search

@@ -731,10 +731,6 @@ angular.module('syncthing.core')
return 'unknown';
}
if ($scope.model[folderCfg.id].invalid) {
return 'stopped';
}
var state = '' + $scope.model[folderCfg.id].state;
if (state === 'error') {
return 'stopped'; // legacy, the state is called "stopped" in the GUI