From 86ce421725c02351d142542d79adaf47eef853dd Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Wed, 17 Jun 2020 20:42:27 +0200 Subject: [PATCH] - commented out things I won't have the time to think about --- client/src/components/spells/add-spell-card.vue | 2 -- client/src/components/spells/edit-spell-card.vue | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/client/src/components/spells/add-spell-card.vue b/client/src/components/spells/add-spell-card.vue index bc46da1..94141f5 100644 --- a/client/src/components/spells/add-spell-card.vue +++ b/client/src/components/spells/add-spell-card.vue @@ -143,8 +143,6 @@ export default { ingredients: ingredientsData, } - console.log(data) - Spells.addSpell(data) .then(v => { this.$emit('addSpell', v.data) diff --git a/client/src/components/spells/edit-spell-card.vue b/client/src/components/spells/edit-spell-card.vue index 2ad4c2d..fbf451f 100644 --- a/client/src/components/spells/edit-spell-card.vue +++ b/client/src/components/spells/edit-spell-card.vue @@ -13,7 +13,7 @@ @@ -160,6 +161,8 @@ export default { } }, methods: { + cloneSpell() { + }, updateSpell(e) { e.preventDefault()