fix update

This commit is contained in:
hay-kot 2021-05-21 23:20:25 -07:00
commit 88044a2836

View file

@ -6,7 +6,7 @@
<v-divider></v-divider>
<v-card-text>
<MealPlanCard v-model="mealPlan.meals" />
<MealPlanCard v-model="mealPlan.planDays" />
<v-row align="center" justify="end">
<v-card-actions>
<v-btn color="success" text @click="update">
@ -30,6 +30,9 @@ export default {
props: {
mealPlan: Object,
},
mounted() {
console.log(this.mealPlan);
},
methods: {
formatDate(timestamp) {
let dateObject = new Date(timestamp);