on route change, calling showTab (#4955)

This commit is contained in:
Jamie V 2022-03-21 14:29:47 -07:00 committed by GitHub
parent 7b2ff8fa15
commit 0df33730f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,7 +366,7 @@ export default {
} }
this.currentTabIndex = tabIndex; this.currentTabIndex = tabIndex;
this.currentTab = this.tabsList[tabIndex]; this.showTab(this.tabsList[tabIndex]);
}, },
handleWindowResize() { handleWindowResize() {
if (!this.$refs.tabs || !this.$refs.tabsHolder) { if (!this.$refs.tabs || !this.$refs.tabsHolder) {