diff --git a/vue3/src/components/display/RecipeCard.vue b/vue3/src/components/display/RecipeCard.vue index 62cd900df..6bb0c8090 100644 --- a/vue3/src/components/display/RecipeCard.vue +++ b/vue3/src/components/display/RecipeCard.vue @@ -21,6 +21,8 @@ class="float-start ms-1 mt-1" v-if="recipe.waitingTime != undefined && recipe.waitingTime > 0"> {{ recipe.waitingTime }} + + @@ -34,22 +36,22 @@ {{ recipe.name }} - + by {{ recipe.createdBy}} - - - - + + + + + + + + + + + + diff --git a/vue3/src/pages/MealPlanPage.vue b/vue3/src/pages/MealPlanPage.vue index 974497095..b7aebfcb5 100644 --- a/vue3/src/pages/MealPlanPage.vue +++ b/vue3/src/pages/MealPlanPage.vue @@ -1,41 +1,42 @@ diff --git a/vue3/src/pages/SearchPage.vue b/vue3/src/pages/SearchPage.vue index 512887eea..ae3756a5d 100644 --- a/vue3/src/pages/SearchPage.vue +++ b/vue3/src/pages/SearchPage.vue @@ -1,5 +1,8 @@ @@ -24,7 +27,14 @@ export default defineComponent({ }, methods: { - + testApi: function () { + const api = new ApiApi() + api.apiMealPlanList().then(r => { + if (r.length > 0 && r[0].id != undefined) { + api.apiMealPlanUpdate({id: r[0].id, mealPlanRequest: r[0]}) + } + }) + } } })