mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00: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')
|
@computed('problems.length')
|
||||||
foundProblems(problemsLength) {
|
foundProblems(problemsLength) {
|
||||||
return this.currentUser.get('admin') && (problemsLength || 0) > 1;
|
return this.currentUser.get('admin') && (problemsLength || 0) > 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed('foundProblems')
|
@computed('foundProblems')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user