mirror of https://github.com/FreeTubeApp/FreeTube
Don't react when selecting the current trending tab (#3070)
This commit is contained in:
parent
2cd8f0f2d3
commit
41687aa185
|
@ -57,6 +57,10 @@ export default defineComponent({
|
|||
},
|
||||
methods: {
|
||||
changeTab: function (tab) {
|
||||
if (tab === this.currentTab) {
|
||||
return
|
||||
}
|
||||
|
||||
this.currentTab = tab
|
||||
if (this.trendingCache[this.currentTab] && this.trendingCache[this.currentTab].length > 0) {
|
||||
this.getTrendingInfoCache()
|
||||
|
|
Loading…
Reference in New Issue