@@ -200,6 +200,9 @@ export default {
type(newType, oldType) {
if(!postTypes.includes(newType)) return console.warn('type not valid...')
},
+ sortBy(newSort, oldSort) {
+ console.log('newSort :', newSort)
+ },
// Only fire if the sort type has changed
// and the post type is the same
// and both sorts are valid