fix: username insensitivity

This commit is contained in:
Raymond 2026-07-07 23:25:41 -04:00 committed by GitHub
parent 1d36998967
commit 41edddcaec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,7 +163,7 @@
<a href={`/u/${username}/${g}`} class:active={game === g}>{name}</a>
{/each}
{#if me && me.username === username}
{#if me && me.username.toLowerCase() === username.toLowerCase()}
<a class="setting-icon clickable" use:tooltip={t("UserHome.Settings")} href={`/settings/${game}`}>
<Icon icon="eos-icons:rotating-gear"/>
</a>