1
0
Эх сурвалжийг харах

Do not show self in shared with (fixes #915)

Audrius Butkevicius 11 жил өмнө
parent
commit
387f2f0a94

+ 3 - 1
gui/app.js

@@ -879,7 +879,9 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca
     $scope.sharesFolder = function (folderCfg) {
         var names = [];
         folderCfg.Devices.forEach(function (device) {
-            names.push($scope.deviceName($scope.findDevice(device.DeviceID)));
+            if (device.DeviceID != $scope.myID) {
+                names.push($scope.deviceName($scope.findDevice(device.DeviceID)));
+            }
         });
         names.sort();
         return names.join(", ");

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 1 - 1
internal/auto/gui.files.go


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно