Skip to content

Commit 99b74ca

Browse files
committed
Fix category name after last commit
1 parent 099fe8f commit 99b74ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/src/components/CategoryList.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ function displayItem(item: any) {
103103
return '?';
104104
}
105105
function displayCategory(category: string) {
106+
category = category.replace(/_/g, ' ');
107+
106108
// Add emoji if available
107109
if (categoryEmojis[category]) {
108110
return `${categoryEmojis[category]} ${category}`;

0 commit comments

Comments
 (0)