|
|
@@ -196,11 +196,12 @@ export default {
|
|
196
|
196
|
// console.warn('sort not found:', sort)
|
|
197
|
197
|
sort = null
|
|
198
|
198
|
}
|
|
199
|
|
-
|
|
200
|
|
- if (!this[`all${type}Loaded`] || sort) this.getPosts(true)
|
|
|
199
|
+ console.log(to)
|
|
|
200
|
+ console.log(from)
|
|
|
201
|
+ this.getPosts(true)
|
|
201
|
202
|
|
|
202
|
203
|
// Add the infinite scroll load
|
|
203
|
|
- console.log('setting intersection loader...')
|
|
|
204
|
+ console.log('route setting intersection loader...')
|
|
204
|
205
|
this.setIntersectionLoader()
|
|
205
|
206
|
},
|
|
206
|
207
|
},
|
|
|
@@ -208,7 +209,6 @@ export default {
|
|
208
|
209
|
if (this.$route.hash) {
|
|
209
|
210
|
setTimeout(() => this.scrollTo(this.$route.hash), TIMEOUT)
|
|
210
|
211
|
}
|
|
211
|
|
- console.log('setting intersection loader...')
|
|
212
|
212
|
this.setIntersectionLoader()
|
|
213
|
213
|
},
|
|
214
|
214
|
created() {
|