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

Issue 417 profile tab

Closes #417

See merge request pleroma/pleroma-fe!634
mastoapi/is-local-post
Shpuld Shpludson 6 years ago
commit 893767b780

@ -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…
Cancel
Save