mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Reset tabs and currentlySelectedTabs when changing channels
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user