Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed Nov 2, 2023
1 parent 736f4a1 commit ebe7c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/discourse/initializers/category-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
let categoryThemeItem = categoryThemeList.find((str) =>
str.indexOf(",") > -1
? categorySlug.indexOf(str.substr(0, str.indexOf(","))) > -1
: "",
: ""
);

if (categoryThemeItem) {
Expand All @@ -57,7 +57,7 @@ export default {
function buildTopicCount(count) {
return `<span class="topic-count" aria-label="${I18n.t(
"category_row.topic_count",
{ count },
{ count }
)}">&times; ${count}</span>`;
}

Expand Down

0 comments on commit ebe7c5f

Please sign in to comment.