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
|
@ -141,6 +141,9 @@ const UserProfile = {
|
||||||
}
|
}
|
||||||
this.cleanUp()
|
this.cleanUp()
|
||||||
this.startUp()
|
this.startUp()
|
||||||
|
},
|
||||||
|
$route () {
|
||||||
|
this.$refs.tabSwitcher.activateTab(0)()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
:switcher="true"
|
:switcher="true"
|
||||||
:selected="timeline.viewing"
|
:selected="timeline.viewing"
|
||||||
/>
|
/>
|
||||||
<tab-switcher :renderOnlyFocused="true">
|
<tab-switcher :renderOnlyFocused="true" ref="tabSwitcher">
|
||||||
<Timeline
|
<Timeline
|
||||||
:label="$t('user_card.statuses')"
|
:label="$t('user_card.statuses')"
|
||||||
:disabled="!user.statuses_count"
|
:disabled="!user.statuses_count"
|
||||||
|
|
Loading…
Reference in a new issue