watch posts filters, to ensure that hasMore is reset to true

This commit is contained in:
Moriz Wahl 2023-06-02 18:45:02 +02:00
parent 5389b607db
commit d3a694e6e7

View File

@ -213,6 +213,11 @@ export default {
}, },
}, },
watchQuery: ['hashtag'], watchQuery: ['hashtag'],
watch: {
postsFilter() {
this.resetPostList()
},
},
mounted() { mounted() {
if (this.categoryId) { if (this.categoryId) {
this.resetCategories() this.resetCategories()