diff --git a/app/assets/javascripts/select-kit/components/category-row.js.es6 b/app/assets/javascripts/select-kit/components/category-row.js.es6 index b67b0f9f4e3..6b7a5ba1063 100644 --- a/app/assets/javascripts/select-kit/components/category-row.js.es6 +++ b/app/assets/javascripts/select-kit/components/category-row.js.es6 @@ -75,7 +75,7 @@ export default SelectKitRowComponent.extend({ "options.countSubcategories" ) topicCount(totalCount, topicCount, countSubcats) { - return `× ${countSubcats ? totalCount : topicCount}`.htmlSafe(); + return countSubcats ? totalCount : topicCount; }, @computed("displayCategoryDescription", "category.description") diff --git a/app/assets/javascripts/select-kit/templates/components/category-row.hbs b/app/assets/javascripts/select-kit/templates/components/category-row.hbs index 85cdfd8f156..94948bc70e7 100644 --- a/app/assets/javascripts/select-kit/templates/components/category-row.hbs +++ b/app/assets/javascripts/select-kit/templates/components/category-row.hbs @@ -5,12 +5,16 @@ {{badgeForParentCategory}} {{/unless}} {{badgeForCategory}} - {{topicCount}} + + × {{topicCount}} + {{else}}