Skip to content
Snippets Groups Projects
Commit 10711f90 authored by Dave LiPuma's avatar Dave LiPuma
Browse files

#417: reset tab status when active user changes

parent 068da3cf
Branches
No related tags found
No related merge requests found
......@@ -10,6 +10,11 @@ export default Vue.component('tab-switcher', {
active: this.$slots.default.findIndex(_ => _.tag)
}
},
watch: {
$route () {
this.activateTab(0)
}
},
methods: {
activateTab (index) {
return () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment