diff --git a/javascripts/discourse/initializers/category-icons.js b/javascripts/discourse/initializers/category-icons.js index 9920a57..00fe30a 100644 --- a/javascripts/discourse/initializers/category-icons.js +++ b/javascripts/discourse/initializers/category-icons.js @@ -40,7 +40,7 @@ export default { let categoryThemeItem = categoryThemeList.find((str) => str.indexOf(",") > -1 ? categorySlug.indexOf(str.substr(0, str.indexOf(","))) > -1 - : "", + : "" ); if (categoryThemeItem) { @@ -57,7 +57,7 @@ export default { function buildTopicCount(count) { return `× ${count}`; }