mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 03:48:26 +00:00
Errors may now be null, and that's fine
This commit is contained in:
parent
ec8bc02d33
commit
2645e87766
@ -1043,6 +1043,9 @@ angular.module('syncthing.core')
|
||||
};
|
||||
|
||||
$scope.errorList = function () {
|
||||
if (!$scope.errors) {
|
||||
return [];
|
||||
}
|
||||
return $scope.errors.filter(function (e) {
|
||||
return e.time > $scope.seenError;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user