Commit 10711f90 authored by Dave LiPuma's avatar Dave LiPuma

#417: reset tab status when active user changes

parent 068da3cf
......@@ -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 () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment