user displayed in navbar with option to logout

This commit is contained in:
2023-07-19 14:52:50 +02:00
parent 3d5aba4baa
commit c541fcc7a1
11 changed files with 189 additions and 28 deletions
@@ -242,6 +242,4 @@ h4{
</div>
</TitleImgParallax>
{#if data.user && data.user.access.includes("rezepte")}
<EditButton href="/rezepte/edit/{data.short_name}"></EditButton>
{/if}