From d493702a901d42172b14a355eff585718b58b228 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 25 Mar 2016 16:29:29 -0400 Subject: [PATCH] FIX: For real this time :'( --- .../javascripts/discourse/components/badge-card.js.es6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } },