FIX: Admin dashboard problems not displaying when there is one error.
This commit is contained in:
parent
3db020f95e
commit
a9ae99bf82
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue