mod user menu
This commit is contained in:
parent
4b08c46d8f
commit
53b9dd3487
|
|
@ -37,6 +37,7 @@
|
|||
align="start"
|
||||
transition={(e) => fade(e, { duration: 100 })}
|
||||
>
|
||||
{#if role === 'admin'}
|
||||
<button
|
||||
class="flex rounded-md py-2 px-3 w-full hover:bg-gray-50 dark:hover:bg-gray-800 transition"
|
||||
on:click={async () => {
|
||||
|
|
@ -48,6 +49,7 @@
|
|||
}
|
||||
}}
|
||||
>
|
||||
{/if}
|
||||
<div class=" self-center mr-3">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
|
|
|||
Loading…
Reference in New Issue