Errors may now be null, and that's fine
This commit is contained in:
@@ -1043,6 +1043,9 @@ angular.module('syncthing.core')
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.errorList = function () {
|
$scope.errorList = function () {
|
||||||
|
if (!$scope.errors) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
return $scope.errors.filter(function (e) {
|
return $scope.errors.filter(function (e) {
|
||||||
return e.time > $scope.seenError;
|
return e.time > $scope.seenError;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user