Reset tabs and currentlySelectedTabs when changing channels

This commit is contained in:
root
2022-11-07 20:40:09 +05:30
parent 87f6c15da7
commit 7eacfa0018
+2
View File
@@ -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')