fix(ui): usermenu
This commit is contained in:
parent
a428f00afe
commit
2d5d7ee2ad
|
@ -70,7 +70,7 @@ const labels = computed(() => ({
|
|||
{{ labels.notifications }}
|
||||
</Link>
|
||||
</PopoverItem>
|
||||
<PopoverItem v-if="store.state.auth.authenticated && store.state.auth.profile?.avatar?.urls.medium_square_crop">
|
||||
<PopoverItem v-if="store.state.auth.authenticated">
|
||||
<Link
|
||||
:to="{name: 'profile.overview', params: { username: store.state.auth.username },}"
|
||||
icon="bi-person-fill"
|
||||
|
@ -78,7 +78,7 @@ const labels = computed(() => ({
|
|||
{{ labels.profile }}
|
||||
</Link>
|
||||
</PopoverItem>
|
||||
<PopoverItem v-if="store.state.auth.authenticated && store.state.auth.profile?.avatar?.urls.medium_square_crop">
|
||||
<PopoverItem v-if="store.state.auth.authenticated">
|
||||
<Link
|
||||
:to="{ path: '/settings' }"
|
||||
icon="bi-gear-fill"
|
||||
|
@ -86,7 +86,7 @@ const labels = computed(() => ({
|
|||
{{ labels.settings }}
|
||||
</Link>
|
||||
</PopoverItem>
|
||||
<hr v-if="store.state.auth.authenticated && store.state.auth.profile?.avatar?.urls.medium_square_crop"/>
|
||||
<hr v-if="store.state.auth.authenticated"/>
|
||||
<PopoverItem @click="store.commit('ui/toggleModal', 'languages')"
|
||||
:aria-pressed="store.state.ui.modalsOpen.has('languages') || undefined"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue