Ver código fonte

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

tags/0.9.0
J 4 anos atrás
pai
commit
d175389239
1 arquivos alterados com 7 adições e 7 exclusões
  1. 7
    7
      vue-theme/src/pages/list.vue

+ 7
- 7
vue-theme/src/pages/list.vue Ver arquivo

187
             if (path.length <= 1) {
187
             if (path.length <= 1) {
188
                 this.clearHero()
188
                 this.clearHero()
189
                 this.checkAndSetHero(this.type)
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
     mounted() {
200
     mounted() {

Carregando…
Cancelar
Salvar