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:
Shpuld Shpludson 2019-03-04 16:09:23 +00:00
commit 893767b780
2 changed files with 4 additions and 1 deletions

View file

@ -141,6 +141,9 @@ const UserProfile = {
} }
this.cleanUp() this.cleanUp()
this.startUp() this.startUp()
},
$route () {
this.$refs.tabSwitcher.activateTab(0)()
} }
}, },
components: { components: {

View file

@ -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"