mod user menu

This commit is contained in:
l.gabrysiak 2025-03-01 12:11:58 +01:00
parent 4b08c46d8f
commit 53b9dd3487
1 changed files with 2 additions and 0 deletions

View File

@ -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"