fix HomeMenu not loading
This commit is contained in:
parent
2260afd5f1
commit
ac7b8e7013
1 changed files with 1 additions and 1 deletions
|
|
@ -11,10 +11,10 @@
|
|||
<MenuLink href="/settings" icon={RiSettings2Line} label="Settings" />
|
||||
{#if user}
|
||||
<MenuLink href="/@{user.username}" icon={RiUserLine} label="My profile" />
|
||||
{/if}
|
||||
{#if user.badges && user.badges.indexOf('administrator') >= 0}
|
||||
<MenuLink href="/admin/" icon={RiShieldStarLine} label="Administration" />
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<!-- TODO add /v1/user/@me/guilds (?) -->
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue