chore(front/NavMenu): move Auth Tokens link to new Account dropdown from swaf

This commit is contained in:
Alice Gaudon 2022-03-06 18:34:55 +01:00
parent 848c952073
commit f54438e9dd
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,7 @@
<script>
import NavMenuItem from "../../components/NavMenuItem.svelte";
import {route} from "../../../../common/Routing.js";
</script>
<NavMenuItem href={route('auth-tokens')} icon="key" text="Auth tokens" />
<hr>

View File

@ -7,5 +7,4 @@
{#if $locals.user}
<NavMenuItem href={route('file-uploader')} icon="upload" text="Upload" />
<NavMenuItem href={route('url-shrinker')} icon="shrink" text="Shrink URL" />
<NavMenuItem href={route('auth-tokens')} icon="key" text="Auth tokens" /> <!-- TODO: move that link to the account page -->
{/if}