From f719d03a02a3afed65d01dd89fb83c1633638a00 Mon Sep 17 00:00:00 2001 From: Gilgard <Hjelljord.alida@gmail.com> Date: Thu, 5 May 2022 16:44:28 +0200 Subject: [PATCH] remove consol log --- src/components/ItemComponents/NewItemForm.vue | 2 +- src/components/UserProfileComponents/UserItems.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ItemComponents/NewItemForm.vue b/src/components/ItemComponents/NewItemForm.vue index 6e4a78c..e49e41c 100644 --- a/src/components/ItemComponents/NewItemForm.vue +++ b/src/components/ItemComponents/NewItemForm.vue @@ -373,7 +373,7 @@ export default { fileReader.onloadend = async function () { const res = fileReader.result; const id = await postNewImageCommunity(res); - console.log(id); + const API_URL = process.env.VUE_APP_BASEURL; that.item.imagesToSend.push(API_URL + "images/" + id); that.item.images.push(API_URL + "images/" + id) diff --git a/src/components/UserProfileComponents/UserItems.vue b/src/components/UserProfileComponents/UserItems.vue index 3db53b0..82070bf 100644 --- a/src/components/UserProfileComponents/UserItems.vue +++ b/src/components/UserProfileComponents/UserItems.vue @@ -289,7 +289,6 @@ export default { async beforeMount() { await this.getUserListingsFromAPI(); this.updateVisibleTodos(); - console.log("hei"); }, }; </script> -- GitLab