FIX: For real this time :'(

This commit is contained in:
Robin Ward 2016-03-25 16:29:29 -04:00
parent 4cca4f2f5b
commit d493702a90

View file

@ -6,9 +6,9 @@ export default Ember.Component.extend({
@computed('count', 'badge.grant_count')
displayCount(count, grantCount) {
const count = parseInt(count || grantCount || 0);
if (count > 1) {
return count;
const c = parseInt(count || grantCount || 0);
if (c > 1) {
return c;
}
},