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

@@ -5,7 +5,6 @@
:sortable="true"
:title="$t('page.all-recipes')"
:recipes="allRecipes"
:card-limit="9999"
@sort="sortAZ"
@sort-recent="sortRecent"
/>
@@ -23,6 +22,9 @@ export default {
data() {
return {};
},
mounted() {
this.$store.dispatch("requestAllRecipes");
},
computed: {
allRecipes() {
return this.$store.getters.getRecentRecipes;