From 3db020f95e57b9bb519a8740dce26f0c9f78fb92 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 8 Aug 2016 12:24:30 -0400 Subject: [PATCH] FIX: Display anonymous counts nicely on badges --- .../javascripts/discourse/widgets/hamburger-categories.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/hamburger-categories.js.es6 b/app/assets/javascripts/discourse/widgets/hamburger-categories.js.es6 index 4000467e942..37bdae69fb8 100644 --- a/app/assets/javascripts/discourse/widgets/hamburger-categories.js.es6 +++ b/app/assets/javascripts/discourse/widgets/hamburger-categories.js.es6 @@ -16,7 +16,7 @@ createWidget('hamburger-category', { } if (!this.currentUser) { - results.push(h('b.topics-count', c.get('topic_count').toString())); + results.push(h('b.topics-count', number(c.get('topic_count')))); } return results;