diff --git a/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 b/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 index 433558917b5..f65e2f04fdc 100644 --- a/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 @@ -23,18 +23,6 @@ export default Ember.Controller.extend({ return this.currentUser.get("admin") && (problemsLength || 0) > 0; }, - @computed("foundProblems") - thereWereProblems(foundProblems) { - if (!this.currentUser.get("admin")) { return false; } - - if (foundProblems) { - this.set("hadProblems", true); - return true; - } else { - return this.get("hadProblems") || false; - } - }, - fetchDashboard() { if (this.get("isLoading")) return; diff --git a/app/assets/javascripts/admin/templates/dashboard-problems.hbs b/app/assets/javascripts/admin/templates/dashboard-problems.hbs index 94f878bc9e9..81bee62b289 100644 --- a/app/assets/javascripts/admin/templates/dashboard-problems.hbs +++ b/app/assets/javascripts/admin/templates/dashboard-problems.hbs @@ -1,36 +1,27 @@ {{#if foundProblems}} -