fix(style): usermenu styles

This commit is contained in:
ArneBo 2025-01-03 14:44:02 +01:00 committed by upsiflu
parent 3f2dfc95b3
commit 90ae581379
2 changed files with 12 additions and 13 deletions

View File

@ -65,6 +65,8 @@
.popover-item { .popover-item {
cursor: pointer; cursor: pointer;
color: var(--color) !important;
text-decoration: none;
padding-left: 8px; padding-left: 8px;
height: 32px; height: 32px;
display: flex; display: flex;

View File

@ -70,21 +70,18 @@ const labels = computed(() => ({
{{ labels.notifications }} {{ labels.notifications }}
</Link> </Link>
</PopoverItem> </PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated"> <PopoverItem
<Link v-if="store.state.auth.authenticated"
:to="{name: 'profile.overview', params: { username: store.state.auth.username },}" :to="{name: 'profile.overview', params: { username: store.state.auth.username },}"
icon="bi-person-fill"
>
{{ labels.profile }}
</Link>
</PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated">
<Link
:to="{ path: '/settings' }"
icon="bi-gear-fill"
> >
<i class="bi bi-person-fill"/>
{{ labels.profile }}
</PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated"
:to="{ path: '/settings' }"
>
<i class="bi bi-gear-fill" />
{{ labels.settings }} {{ labels.settings }}
</Link>
</PopoverItem> </PopoverItem>
<hr v-if="store.state.auth.authenticated"/> <hr v-if="store.state.auth.authenticated"/>
<PopoverItem @click="store.commit('ui/toggleModal', 'languages')" <PopoverItem @click="store.commit('ui/toggleModal', 'languages')"