Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. updatRecipe($event) {
  2. const {
  3. id,
  4. name,
  5. description,
  6. instructions,
  7. food_category_id,
  8. number_of_servings,
  9. time_to_prepare,
  10. calories_per_serving,
  11. source,
  12. vegetarian
  13. } = this.recipe;
  14. this.$store.dispatch('recipes/updateRecipe', {
  15. id,
  16. name,
  17. description,
  18. instructions,
  19. food_category_id,
  20. number_of_servings,
  21. time_to_prepare,
  22. calories_per_serving
  23. });
  24. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement