diff options
| author | dave <starpumadev@gmail.com> | 2019-03-03 13:38:48 -0500 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-03-03 13:38:48 -0500 |
| commit | 5a0bb29f02349aed4a7948b963ff0a78d3975237 (patch) | |
| tree | f844d49b5fad61a41d3765dce82cbb27bafa7955 /src/components/user_profile/user_profile.js | |
| parent | 3d30ad1dda8f31960586625bb6a432d6b3adde8e (diff) | |
#417: reset tab from the outside
Diffstat (limited to 'src/components/user_profile/user_profile.js')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 7708141c..cdf1cee9 100644 --- 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: { |
