forked from AkkomaGang/akkoma-fe
Merge branch 'issue-417-profile-tab' into 'develop'
Issue 417 profile tab Closes #417 See merge request pleroma/pleroma-fe!634
This commit is contained in:
commit
893767b780
2 changed files with 4 additions and 1 deletions
src/components/user_profile
|
@ -141,6 +141,9 @@ const UserProfile = {
|
|||
}
|
||||
this.cleanUp()
|
||||
this.startUp()
|
||||
},
|
||||
$route () {
|
||||
this.$refs.tabSwitcher.activateTab(0)()
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
:switcher="true"
|
||||
:selected="timeline.viewing"
|
||||
/>
|
||||
<tab-switcher :renderOnlyFocused="true">
|
||||
<tab-switcher :renderOnlyFocused="true" ref="tabSwitcher">
|
||||
<Timeline
|
||||
:label="$t('user_card.statuses')"
|
||||
:disabled="!user.statuses_count"
|
||||
|
|
Loading…
Reference in a new issue