This commit is contained in:
2024-03-16 00:11:02 +01:00
parent 49fe9728e5
commit 85f570433d
6 changed files with 9 additions and 9 deletions

View File

@ -48,7 +48,7 @@
<div class="flex flex-wrap">
<button class="btn mt-2" on:click={logout}>{t("dashboard.buttons.logout")}</button>
{#if user.perms.includes("MODERATION")}
<a class="btn w-fit mt-2" href="/admin">{t("dashboard.buttons.admin")}</a>
<a class="btn w-fit mt-2" href="/admin" data-astro-reload>{t("dashboard.buttons.admin")}</a>
{/if}
</div>
</div>