diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 64cdb27f..458963fa 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -136,10 +136,12 @@ export default { this.tabs.push({ translatedName: this.$t("video.videos"), }); + const tabQuery = this.$route.query.tab; for (let i = 0; i < this.channel.tabs.length; i++) { let tab = this.channel.tabs[i]; tab.translatedName = this.getTranslatedTabName(tab.name); this.tabs.push(tab); + if (tab.name === tabQuery) this.loadTab(i + 1); } } });