fix(style): fix missing icon gap in usermenu popover logout

This commit is contained in:
ArneBo 2024-12-23 14:56:34 +01:00 committed by upsiflu
parent 78c64a03a4
commit f403f2207d
1 changed files with 2 additions and 2 deletions

View File

@ -140,10 +140,10 @@ const labels = computed(() => ({
<i class="bi bi-box-arrow-right" />
{{ labels.logout }}
</PopoverItem>
<PopoverItem v-if="!store.state.auth.authenticated"
<PopoverItem v-if="!store.state.auth.authenticated && route.path != '/login'"
:to="{ name: 'login' }"
>
<i class="bi-box-arrow-in-right" />
<i class="bi bi-box-arrow-in-right" />
{{ labels.login }}
</PopoverItem>
<PopoverItem v-if="!store.state.auth.authenticated && store.state.instance.settings.users.registration_enabled.value"