feat(front): add manage uploads link to user menu

environments/review-docs-2422-qjbh7w/deployments/21463
ArneBo 2025-10-04 21:31:30 +02:00 zatwierdzone przez Petitminion
rodzic 9921aaf393
commit 60a4495852
1 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -40,7 +40,8 @@ const labels = computed(() => ({
git: t('components.common.UserMenu.link.git'),
login: t('components.common.UserMenu.link.login'),
signup: t('components.common.UserMenu.link.signup'),
notifications: t('components.common.UserMenu.link.notifications')
notifications: t('components.common.UserMenu.link.notifications'),
uploads: t('views.auth.ProfileBase.link.manageUploads')
}))
</script>
@ -104,6 +105,13 @@ const labels = computed(() => ({
{{ store.state.ui.notifications.inbox }}
</div>
</PopoverItem>
<PopoverItem
v-if="store.state.auth.authenticated"
:to="{ name: 'profile.manageUploads', params: { username: store.state.auth.username },}"
>
<i class="bi bi-cloud-upload-fill" />
{{ labels.uploads }}
</PopoverItem>
<PopoverItem
v-if="store.state.auth.authenticated"
:to="{ path: '/settings' }"