Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- updatRecipe($event) {
- const {
- id,
- name,
- description,
- instructions,
- food_category_id,
- number_of_servings,
- time_to_prepare,
- calories_per_serving,
- source,
- vegetarian
- } = this.recipe;
- this.$store.dispatch('recipes/updateRecipe', {
- id,
- name,
- description,
- instructions,
- food_category_id,
- number_of_servings,
- time_to_prepare,
- calories_per_serving
- });
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement