@@ -197,7 +197,7 @@ export default {
$route(to, from) {
// Check if we changed sort method
console.log('to:', to)
- if(this.sortBy) { this.clearAllPosts() }
+ if(this.sortBy) { this.clearAndInitPostList() }
}
},
mounted() {