gui: Fix blank device name under "Recent Changes" (#7185)

fixes the device showing up as blank if the friendly name is known
This commit is contained in:
Eric Lesiuta
2020-12-07 22:19:28 +01:00
committed by GitHub
parent c1b452df93
commit 25d904dc37
2 changed files with 2 additions and 2 deletions
@@ -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) {
@@ -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) {