mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Do not show self in shared with (fixes #915)
This commit is contained in:
parent
b0d95d02be
commit
387f2f0a94
@ -879,7 +879,9 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca
|
|||||||
$scope.sharesFolder = function (folderCfg) {
|
$scope.sharesFolder = function (folderCfg) {
|
||||||
var names = [];
|
var names = [];
|
||||||
folderCfg.Devices.forEach(function (device) {
|
folderCfg.Devices.forEach(function (device) {
|
||||||
|
if (device.DeviceID != $scope.myID) {
|
||||||
names.push($scope.deviceName($scope.findDevice(device.DeviceID)));
|
names.push($scope.deviceName($scope.findDevice(device.DeviceID)));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
names.sort();
|
names.sort();
|
||||||
return names.join(", ");
|
return names.join(", ");
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user