Sfoglia il codice sorgente

:recycle: trying getPosts() only on to->list

tags/0.9.0
J 4 anni fa
parent
commit
d175389239
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7
    7
      vue-theme/src/pages/list.vue

+ 7
- 7
vue-theme/src/pages/list.vue Vedi File

@@ -187,14 +187,14 @@ export default {
187 187
             if (path.length <= 1) {
188 188
                 this.clearHero()
189 189
                 this.checkAndSetHero(this.type)
190
-            }
191
-
192
-            // TODO: Track last loaded page per post type
193
-            // Less http calls
194
-            this.page = 1
195
-            this.setIntersectionLoader()
190
+                
191
+                // TODO: Track last loaded page per post type
192
+                // Less http calls
193
+                this.page = 1
194
+                this.setIntersectionLoader()
196 195
 
197
-            this.getPosts(true)
196
+                this.getPosts(true)
197
+            }
198 198
         },
199 199
     },
200 200
     mounted() {

Loading…
Annulla
Salva