mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: Admin dashboard problems not displaying when there is one error.
This commit is contained in:
parent
3db020f95e
commit
a9ae99bf82
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue