diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 8ac4b177..3fbea49a 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -606,10 +606,6 @@ angular.module('syncthing.core') return 'unknown'; } - if (folderCfg.devices.length <= 1) { - return 'unshared'; - } - if ($scope.model[folderCfg.id].invalid) { return 'stopped'; } @@ -621,6 +617,13 @@ angular.module('syncthing.core') if (state === 'idle' && $scope.model[folderCfg.id].needFiles > 0) { return 'outofsync'; } + if (state === 'scanning') { + return state; + } + + if (folderCfg.devices.length <= 1) { + return 'unshared'; + } return state; };