From 4cca4f2f5ba8f82ddf656b62c980de95d5b93599 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 25 Mar 2016 16:20:59 -0400 Subject: [PATCH] FIX: Typo --- app/assets/javascripts/discourse/components/badge-card.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/badge-card.js.es6 b/app/assets/javascripts/discourse/components/badge-card.js.es6 index 396577968b3..9e379b32fb7 100644 --- a/app/assets/javascripts/discourse/components/badge-card.js.es6 +++ b/app/assets/javascripts/discourse/components/badge-card.js.es6 @@ -6,7 +6,7 @@ export default Ember.Component.extend({ @computed('count', 'badge.grant_count') displayCount(count, grantCount) { - const c = parseInt(count || grantCount || 0); + const count = parseInt(count || grantCount || 0); if (count > 1) { return count; }