diff --git a/src/components/Star.vue b/src/components/Star.vue index f06ce46..88ce7ac 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -126,6 +126,12 @@ export default { } } }, + watch: { + view () { + this.getAllsites() + this.getFavorites() + } + }, methods: { ...mapMutations(['SET_VIEW', 'SET_DETAIL', 'SET_VIDEO', 'SET_SHARE']), handleSortChange (column, prop, order) {