#417: reset tab status when active user changes

This commit is contained in:
dave 2019-03-03 12:15:55 -05:00
parent 068da3cf9f
commit 10711f9045

View file

@ -10,6 +10,11 @@ export default Vue.component('tab-switcher', {
active: this.$slots.default.findIndex(_ => _.tag) active: this.$slots.default.findIndex(_ => _.tag)
} }
}, },
watch: {
$route () {
this.activateTab(0)
}
},
methods: { methods: {
activateTab (index) { activateTab (index) {
return () => { return () => {