|
|
@@ -212,12 +212,10 @@ export default {
|
|
212
|
212
|
console.log('to :', to)
|
|
213
|
213
|
console.log('from :', from)
|
|
214
|
214
|
|
|
215
|
|
- if(!to.fullPath.includes(sortTypes.material) && from.fullPath.includes(sortTypes.material)) {
|
|
|
215
|
+ this.unsetIntersectionLoader()
|
|
|
216
|
+ if(!to.fullPath.includes(sortTypes.material)) {
|
|
216
|
217
|
this.setIntersectionLoader()
|
|
217
|
218
|
}
|
|
218
|
|
- if(to.fullPath.includes(sortTypes.material)) {
|
|
219
|
|
- this.unsetIntersectionLoader()
|
|
220
|
|
- }
|
|
221
|
219
|
|
|
222
|
220
|
|
|
223
|
221
|
// Check if we changed sort method
|