diff --git a/app/assets/javascripts/discourse/components/badge-card.js.es6 b/app/assets/javascripts/discourse/components/badge-card.js.es6 index 9e379b32fb7..72e97bf8e2d 100644 --- a/app/assets/javascripts/discourse/components/badge-card.js.es6 +++ b/app/assets/javascripts/discourse/components/badge-card.js.es6 @@ -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; } },