1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 13:05:21 +02:00

feature/profile-cards (#391)

* unify format

* pass variables

* remove namespace

* rename

* group-card init

* shuffle + icons

* remove console.logs

* token CRUD

* update changelog

* add profile link

* consolidate mealplan to profile dashboard

* update docs

* add query parameter to search page

* update test routes

* update python depts

* basic token tests

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-05-06 21:08:27 -08:00 committed by GitHub
parent f4384167f6
commit 95ec13161f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 977 additions and 449 deletions

View file

@ -36,7 +36,6 @@
{{ $t("search.tag-filter") }}
</h3>
<FilterSelector class="mb-1" @update="updateTagParams" />
<CategoryTagSelector
:solo="true"
:dense="false"
@ -66,7 +65,6 @@ export default {
},
data() {
return {
searchString: "",
maxResults: 21,
searchResults: [],
catFilter: {
@ -96,6 +94,14 @@ export default {
this.$store.dispatch("requestAllRecipes");
},
computed: {
searchString: {
set(q) {
this.$router.replace({ query: { ...this.$route.query, q } });
},
get() {
return this.$route.query.q || "";
},
},
allRecipes() {
return this.$store.getters.getAllRecipes;
},
@ -132,11 +138,6 @@ export default {
}
},
},
watch: {
showRecipes(val) {
console.log(val);
},
},
methods: {
assignFuzzy(val) {
this.sortedResults = val;