Archived
Errors may now be null, and that's fine
This commit is contained in:
1 parent
ec8bc02d33
commit
2645e87766
1 file changed
+3
@@ -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