FIX: Admin dashboard problems not displaying when there is one error.

This commit is contained in:
Guo Xiang Tan 2016-08-09 00:32:43 +08:00
parent 3db020f95e
commit a9ae99bf82
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default Ember.Controller.extend({
@computed('problems.length')
foundProblems(problemsLength) {
return this.currentUser.get('admin') && (problemsLength || 0) > 1;
return this.currentUser.get('admin') && (problemsLength || 0) > 0;
},
@computed('foundProblems')