Skip to content

Node.js based forum software built for the modern web

refactor: use the same style on group names in dropdown

Barış Soner Uşaklı4f4b1f281038
diff --git a/src/views/partials/groups/filter-dropdown-content.tpl b/src/views/partials/groups/filter-dropdown-content.tpl
index 01ae7e5066..b90192a12a 100644
--- a/src/views/partials/groups/filter-dropdown-content.tpl
+++ b/src/views/partials/groups/filter-dropdown-content.tpl
@@ -16,7 +16,7 @@
{{{ each groups }}}
<li role="presentation" class="user {{{ if ./selected}}}selected{{{end}}}">
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" role="menuitem" href="{config.relative_path}/{./url}">
- <div class="flex-grow-1 d-inline-flex gap-1 align-items-center">{./displayName}</div>
+ <div class="flex-grow-1 d-inline-flex gap-1 align-items-center text-capitalize">{generateGroupDisplayName(@value)}</div>
<i class="flex-shrink-0 fa fa-fw {{{ if ./selected }}}fa-check{{{ end }}}"></i>
</a>
</li>