Merge branch 'issue-417-profile-tab' into 'develop'

Issue 417 profile tab

Closes 

See merge request 
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
src/components/user_profile

View file

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

View file

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