mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user