Skip to content

Commit

Permalink
Fixed loadMorePosts
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofersOzolinsMagebit committed Aug 20, 2020
1 parent 68b7d8b commit 3d70202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/BlogCategory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default {
})
},
loadMorePosts () {
if (this.canLoadMore) return
if (!this.canLoadMore) return
this.$store.dispatch('aheadworks-blog/loadMoreCategoryPosts', this.currentCategory)
}
}
Expand Down

0 comments on commit 3d70202

Please sign in to comment.