Ver código fonte

:recycle: re-init and clear on sort-by

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

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

@@ -197,7 +197,7 @@ export default {
197 197
         $route(to, from) {
198 198
             // Check if we changed sort method
199 199
             console.log('to:', to)
200
-            if(this.sortBy) { this.clearAllPosts() }
200
+            if(this.sortBy) { this.clearAndInitPostList() }
201 201
         }
202 202
     },
203 203
     mounted() {

Carregando…
Cancelar
Salvar