Skip to content

Commit

Permalink
#170 Fix a merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 6, 2017
1 parent 384d826 commit 6e71e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/scripts/controllers/admin/AdminReportTemplatesCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.controller('AdminReportTemplateDeleteCtrl', AdminReportTemplateDeleteCtrl);


function AdminReportTemplatesCtrl($q, $uibModal, AnalyzerSrv, ReportTemplateSrv, AlertSrv) {
function AdminReportTemplatesCtrl($q, $uibModal, AnalyzerSrv, ReportTemplateSrv, NotificationSrv) {
var self = this;

this.templates = [];
Expand All @@ -35,7 +35,7 @@

return $q.resolve(self.analyzers);
}, function(rejection) {
AlertSrv.error('ReportTemplates', rejection.data, rejection.status);
NotificationSrv.error('ReportTemplates', rejection.data, rejection.status);
}).then(function (analyzersMap) {
if(_.isEmpty(analyzersMap)) {
_.each(_.pluck(self.templates, 'analyzerId'), function(item) {
Expand Down

0 comments on commit 6e71e58

Please sign in to comment.