Fix docs and enable fail on warning

This commit is contained in:
Jasmine Schladen
2021-02-18 17:23:02 -08:00
parent a153781335
commit 0bc66be418
38 changed files with 683 additions and 104 deletions

View File

@ -49,7 +49,6 @@ angular.module('lemur')
});
});
NotificationService.getCertificates(notification);
$scope.page = 1;
});
$scope.save = function (notification) {
@ -77,10 +76,5 @@ angular.module('lemur')
$uibModalInstance.dismiss('cancel');
};
$scope.loadMoreCertificates = function () {
$scope.page++;
NotificationService.loadMoreCertificates($scope.notification, $scope.page);
};
$scope.certificateService = CertificateService;
});

View File

@ -42,7 +42,7 @@ angular.module('lemur')
NotificationService.loadMoreCertificates = function (notification, page) {
notification.getList('certificates', {page: page, showExpired: 0}).then(function (certificates) {
_.each(certificates, function (certificate) {
notification.certificates.push(certificate);
notification.roles.push(certificate);
});
});
};