diff --git a/ui/app/scripts/controllers/admin/AdminReportTemplatesCtrl.js b/ui/app/scripts/controllers/admin/AdminReportTemplatesCtrl.js index 86bdeb97f5..8c568fa770 100644 --- a/ui/app/scripts/controllers/admin/AdminReportTemplatesCtrl.js +++ b/ui/app/scripts/controllers/admin/AdminReportTemplatesCtrl.js @@ -13,6 +13,7 @@ this.templates = []; this.analyzers = []; + this.analyzerIds = []; this.analyzerCount = 0; @@ -51,7 +52,8 @@ } }); - self.analyzerCount = _.keys(analyzersMap).length; + self.analyzerIds = _.keys(analyzersMap); + self.analyzerCount = self.analyzerIds.length; }); }; diff --git a/ui/app/views/partials/admin/report-templates.html b/ui/app/views/partials/admin/report-templates.html index 506e145692..61726ce8d1 100644 --- a/ui/app/views/partials/admin/report-templates.html +++ b/ui/app/views/partials/admin/report-templates.html @@ -31,7 +31,7 @@