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

environments/review-docs-feat-z0hkbz/deployments/20103
ArneBo 2024-12-23 14:56:34 +01:00 zatwierdzone przez upsiflu
rodzic 78c64a03a4
commit f403f2207d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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