Skip to content

Commit

Permalink
FIX: Admin dashboard problems not displaying when there is one error.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed Aug 8, 2016
1 parent 3db020f commit a9ae99b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

2 comments on commit a9ae99b

@ZogStriP
Copy link
Member

@ZogStriP ZogStriP commented on a9ae99b Aug 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OFF BY 1 - HARDEST PROBLEM IN COMPUTERZZZ

@eviltrout
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already fired myself over it, stop rubbing it in

Please sign in to comment.