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