logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 893767b780908bffe2404c48cbc807286974cef1
parent: 42d36fc98b75882915f9863998038ac62a0ed832
Author: Shpuld Shpludson <shp@cock.li>
Date:   Mon,  4 Mar 2019 16:09:23 +0000

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

Issue 417 profile tab

Closes #417

See merge request pleroma/pleroma-fe!634

Diffstat:

Msrc/components/user_profile/user_profile.js3+++
Msrc/components/user_profile/user_profile.vue2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js @@ -141,6 +141,9 @@ const UserProfile = { } this.cleanUp() this.startUp() + }, + $route () { + this.$refs.tabSwitcher.activateTab(0)() } }, components: { diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue @@ -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"