|
|
@@ -198,10 +198,7 @@ export default {
|
|
198
|
198
|
// Check if we changed sort method
|
|
199
|
199
|
// from no sort to sorted
|
|
200
|
200
|
// or sorted to no sort
|
|
201
|
|
- // or sort to a different sort(?)
|
|
202
|
|
- console.log('to:', to.fullPath.includes(this.sortBy))
|
|
203
|
|
- console.log('from:', from.fullPath.includes(this.sortBy))
|
|
204
|
|
- console.log('sort:', this.sortBy)
|
|
|
201
|
+ // or sort to a different sort(?))
|
|
205
|
202
|
if(
|
|
206
|
203
|
from.fullPath.includes(this.sortBy) ||
|
|
207
|
204
|
(!to.fullPath.includes(this.sortBy) && !from.fullPath.includes(this.sortBy))
|