|
@@ -1165,7 +1165,7 @@ angular.module('syncthing.core')
|
|
}
|
|
}
|
|
|
|
|
|
// Disconnected
|
|
// Disconnected
|
|
- if (!unused && $scope.deviceStats[deviceCfg.deviceID] && (!$scope.deviceStats[deviceCfg.deviceID].lastSeenDays || ($scope.deviceStats[deviceCfg.deviceID].lastSeenDays && $scope.deviceStats[deviceCfg.deviceID].lastSeenDays >= 7)) {
|
|
|
|
|
|
+ if (!unused && $scope.deviceStats[deviceCfg.deviceID] && (!$scope.deviceStats[deviceCfg.deviceID].lastSeenDays || $scope.deviceStats[deviceCfg.deviceID].lastSeenDays >= 7)) {
|
|
return status + 'disconnected-inactive';
|
|
return status + 'disconnected-inactive';
|
|
} else {
|
|
} else {
|
|
return status + 'disconnected';
|
|
return status + 'disconnected';
|