lib/model: Allow limiting number of concurrent scans (fixes #2760) (#4888)

This commit is contained in:
Audrius Butkevicius authored and Jakob Borg committed 2018-12-05 08:40:05 +01:00
1 parent 0fe4c01a28
commit ff2cde469e
8 files changed
+154 -6

No files matched your search

@@ -769,7 +769,7 @@ angular.module('syncthing.core')
if (status === 'stopped' || status === 'outofsync' || status === 'error') {
return 'danger';
}
if (status === 'unshared') {
if (status === 'unshared' || status === 'scan-waiting') {
return 'warning';
}