diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 8abdf42b5..f3dd4b9af 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -1094,7 +1094,7 @@ angular.module('syncthing.core') if (matches.length !== 1) { return shortID; } - return matches[0].name; + return $scope.friendlyNameFromID(matches[0]); }; $scope.friendlyNameFromID = function (deviceID) { diff --git a/gui/default/untrusted/syncthing/core/syncthingController.js b/gui/default/untrusted/syncthing/core/syncthingController.js index 4f2a20e74..fd109be97 100755 --- a/gui/default/untrusted/syncthing/core/syncthingController.js +++ b/gui/default/untrusted/syncthing/core/syncthingController.js @@ -1098,7 +1098,7 @@ angular.module('syncthing.core') if (matches.length !== 1) { return shortID; } - return matches[0].name; + return $scope.friendlyNameFromID(matches[0]); }; $scope.friendlyNameFromID = function (deviceID) {