diff --git a/frontend/src/components/NewRecipe.vue b/frontend/src/components/NewRecipe.vue
index 370d6a10fed5..05ae0d94e6c3 100644
--- a/frontend/src/components/NewRecipe.vue
+++ b/frontend/src/components/NewRecipe.vue
@@ -18,12 +18,15 @@
@save="createRecipe"
/>
-
+
+
+
+
+
@@ -73,7 +76,6 @@ export default {
methods: {
getImage(fileObject) {
- console.log(fileObject);
this.fileObject = fileObject;
this.onFileChange();
},
@@ -83,11 +85,9 @@ export default {
async createRecipe() {
this.isLoading = true;
this.recipeDetails.image = this.fileObject.name;
- console.log(this.recipeDetails);
let slug = await api.recipes.create(this.recipeDetails);
- let response = await api.recipes.updateImage(slug, this.fileObject);
- console.log(response);
+ await api.recipes.updateImage(slug, this.fileObject);
this.isLoading = false;
this.$router.push(`/recipe/${slug}`);