mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
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:
parent
c1b452df93
commit
25d904dc37
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user