diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue index 7bed9a0..09aa6e6 100644 --- a/src/components/IPTV.vue +++ b/src/components/IPTV.vue @@ -132,7 +132,9 @@ export default { }, watch: { view () { - this.getChannels() + if (this.view === 'IPTV') { + this.getChannels() + } }, searchTxt () { } diff --git a/src/components/Recommandation.vue b/src/components/Recommandation.vue index 1d2dee3..5bb8bc7 100644 --- a/src/components/Recommandation.vue +++ b/src/components/Recommandation.vue @@ -170,8 +170,10 @@ export default { }, watch: { view () { - this.getRecommandations() - this.$refs.waterfall.refresh() + if (this.view === 'Recommandation') { + this.getRecommandations() + this.$refs.waterfall.refresh() + } } }, methods: { diff --git a/src/components/Star.vue b/src/components/Star.vue index 72561f8..e8d8d88 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -172,8 +172,10 @@ export default { }, watch: { view () { - this.getAllsites() - this.getFavorites() + if (this.view === 'Star') { + this.getAllsites() + this.getFavorites() + } } }, methods: {