FIX: Typo
This commit is contained in:
parent
83b79a4e1e
commit
4cca4f2f5b
|
@ -6,7 +6,7 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
@computed('count', 'badge.grant_count')
|
@computed('count', 'badge.grant_count')
|
||||||
displayCount(count, grantCount) {
|
displayCount(count, grantCount) {
|
||||||
const c = parseInt(count || grantCount || 0);
|
const count = parseInt(count || grantCount || 0);
|
||||||
if (count > 1) {
|
if (count > 1) {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue