Sfoglia il codice sorgente

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

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

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

@@ -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() {

Loading…
Annulla
Salva