This commit is contained in:
@@ -1892,8 +1892,11 @@ angular.module('syncthing.core')
|
||||
}
|
||||
};
|
||||
|
||||
$scope.otherDevices = function () {
|
||||
return $scope.deviceList().filter(function (n) {
|
||||
$scope.otherDevices = function (devices) {
|
||||
if (devices === undefined) {
|
||||
devices = $scope.deviceList();
|
||||
}
|
||||
return devices.filter(function (n) {
|
||||
return n.deviceID !== $scope.myID;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user