From 7eacfa00184048fa642e201c8abf51e9fbbffd52 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Nov 2022 20:40:09 +0530 Subject: [PATCH] Reset tabs and currentlySelectedTabs when changing channels --- src/routes/Channel.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/Channel.vue b/src/routes/Channel.vue index b3ed494..7f9fe4e 100644 --- a/src/routes/Channel.vue +++ b/src/routes/Channel.vue @@ -127,6 +127,8 @@ export default { this.channel = await this.$store.dispatch('auth/makeRequest', { path: '/' + this.$route.params.path + '/' + this.$route.params.channelId }) + this.tabs = [] + this.currentlySelectedTab = 0 this.tabs.push({ originalName: '', name: this.$t('channel_tabs.videos')