mod navbar
This commit is contained in:
parent
02bd168ed7
commit
14d4d378ac
|
|
@ -163,7 +163,7 @@
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
{#if $user !== undefined}
|
{#if $user !== undefined && $user.role === 'admin'}
|
||||||
<UserMenu
|
<UserMenu
|
||||||
className="max-w-[200px]"
|
className="max-w-[200px]"
|
||||||
role={$user.role}
|
role={$user.role}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue