Przeglądaj źródła

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

tags/0.9.0
J 4 lat temu
rodzic
commit
46b2bc963c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz