fix(front): remove useless tabs from user profile
This commit is contained in:
parent
2b87305342
commit
1740cf485d
|
@ -140,40 +140,6 @@ const recentActivity = ref(0)
|
|||
/>
|
||||
</Tab>
|
||||
|
||||
<Tab :title="t('views.auth.ProfileOverview.header.libraries')">
|
||||
<h2 class="ui with-actions header">
|
||||
{{ t('views.auth.ProfileOverview.header.libraries') }}
|
||||
<div
|
||||
v-if="store.state.auth.authenticated && object?.full_username === store.state.auth.fullUsername"
|
||||
class="actions"
|
||||
>
|
||||
</div>
|
||||
</h2>
|
||||
<library-widget :url="`federation/actors/${object?.full_username}/libraries/`">
|
||||
<template #title>
|
||||
{{ t('views.auth.ProfileOverview.header.sharedLibraries') }}
|
||||
</template>
|
||||
</library-widget>
|
||||
</Tab>
|
||||
|
||||
<Tab :title="t('views.auth.ProfileOverview.header.channels')">
|
||||
<h2 class="ui with-actions header">
|
||||
{{ t('views.auth.ProfileOverview.header.channels') }}
|
||||
<div
|
||||
v-if="store.state.auth.authenticated && object?.full_username === store.state.auth.fullUsername"
|
||||
class="actions"
|
||||
>
|
||||
<Link
|
||||
:to="useModal('upload').to"
|
||||
icon="bi-plus"
|
||||
>
|
||||
{{ t('views.auth.ProfileOverview.link.addNew') }}
|
||||
</Link>
|
||||
</div>
|
||||
</h2>
|
||||
<channels-widget :filters="{scope: `actor:${object?.full_username}`}" />
|
||||
</Tab>
|
||||
|
||||
<Tab :title="t('views.auth.ProfileBase.link.activity')" :to="{name: 'profile.activity', params: routerParams}">
|
||||
<router-view
|
||||
:object="object"
|
||||
|
|
Loading…
Reference in New Issue