mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
parent
9d2b744c12
commit
9f305f674a
@ -1760,6 +1760,9 @@ angular.module('syncthing.core')
|
||||
};
|
||||
|
||||
$scope.folderLabel = function (folderID) {
|
||||
if (!$scope.folders[folderID]) {
|
||||
return folderID;
|
||||
}
|
||||
var label = $scope.folders[folderID].label;
|
||||
return label.length > 0 ? label : folderID;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user