Get Recipes Route Rewrite (#339)

* deprecate old route

* auto-gen

* recipe card infinite scroll

* fix datatable

* set hard-limit option

* add loader

* set scroll on navigation

* add auto-import

* fix slow initial load

* remove console.logs

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-04-22 22:13:55 -08:00
committed by GitHub
parent 80f8806604
commit 8e4b951ecc
19 changed files with 128 additions and 73 deletions

View File

@@ -26,7 +26,9 @@
<v-row dense class="mt-0 flex-row align-center justify-space-around">
<v-col>
<h3 class="pl-2 text-center headline">{{$t('search.category-filter')}}</h3>
<h3 class="pl-2 text-center headline">
{{ $t("search.category-filter") }}
</h3>
<FilterSelector class="mb-1" @update="updateCatParams" />
<CategoryTagSelector
:solo="true"
@@ -36,7 +38,9 @@
/>
</v-col>
<v-col>
<h3 class="pl-2 text-center headline">{{$t('search.tag-filter')}}</h3>
<h3 class="pl-2 text-center headline">
{{ $t("search.tag-filter") }}
</h3>
<FilterSelector class="mb-1" @update="updateTagParams" />
<CategoryTagSelector
@@ -113,6 +117,9 @@ export default {
},
};
},
mounted() {
this.$store.dispatch("requestAllRecipes");
},
computed: {
allRecipes() {
return this.$store.getters.getRecentRecipes;