Преглед изворни кода

:fire: removed another log

tags/0.9.0
J пре 4 година
родитељ
комит
3103a5ede2
1 измењених фајлова са 5 додато и 4 уклоњено
  1. 5
    4
      vue-theme/src/pages/list.vue

+ 5
- 4
vue-theme/src/pages/list.vue Прегледај датотеку

@@ -195,12 +195,13 @@ export default {
195 195
                 // console.warn('sort not found:', sort)
196 196
                 sort = null
197 197
             }
198
+            
199
+            // TODO: Track last loaded page per post type
200
+            // Less http calls
198 201
             this.page = 1
199
-            this.getPosts(true)
200
-
201
-            // Add the infinite scroll load
202
-            console.log('route setting intersection loader...')
203 202
             this.setIntersectionLoader()
203
+
204
+            this.getPosts(true)
204 205
         },
205 206
     },
206 207
     mounted() {

Loading…
Откажи
Сачувај