From c6eaf5ba4c6127b351c8f6c0aa045da7e96f76b4 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Wed, 31 Mar 2021 18:53:01 -0800 Subject: [PATCH] remove console.logs --- frontend/src/api/meta.js | 1 - frontend/src/components/Admin/ManageUsers/TheUserTable.vue | 1 - frontend/src/components/MealPlan/MealPlanNew.vue | 1 - frontend/src/components/UI/CardSection.vue | 5 ----- frontend/src/components/UI/Search/SearchBar.vue | 1 - frontend/src/pages/HomePage.vue | 2 -- frontend/src/pages/Recipes/TagPage.vue | 1 - 7 files changed, 12 deletions(-) diff --git a/frontend/src/api/meta.js b/frontend/src/api/meta.js index bcf6470fc..88ecd80be 100644 --- a/frontend/src/api/meta.js +++ b/frontend/src/api/meta.js @@ -21,7 +21,6 @@ export const metaAPI = { async getIsDemo() { let response = await apiReq.get(debugURLs.demo); - console.log(response); return response.data; }, }; diff --git a/frontend/src/components/Admin/ManageUsers/TheUserTable.vue b/frontend/src/components/Admin/ManageUsers/TheUserTable.vue index 99b64ce4a..aecac70ce 100644 --- a/frontend/src/components/Admin/ManageUsers/TheUserTable.vue +++ b/frontend/src/components/Admin/ManageUsers/TheUserTable.vue @@ -273,7 +273,6 @@ export default { await this.initialize(); }, resetPassword() { - console.log(this.activeId); api.users.resetPassword(this.editedItem.id); }, }, diff --git a/frontend/src/components/MealPlan/MealPlanNew.vue b/frontend/src/components/MealPlan/MealPlanNew.vue index 2b86afb9c..51d4326b3 100644 --- a/frontend/src/components/MealPlan/MealPlanNew.vue +++ b/frontend/src/components/MealPlan/MealPlanNew.vue @@ -125,7 +125,6 @@ export default { computed: { groupSettings() { - console.log(this.$store.getters.getCurrentGroup); return this.$store.getters.getCurrentGroup; }, actualStartDate() { diff --git a/frontend/src/components/UI/CardSection.vue b/frontend/src/components/UI/CardSection.vue index d8bc5727b..82ff6c141 100644 --- a/frontend/src/components/UI/CardSection.vue +++ b/frontend/src/components/UI/CardSection.vue @@ -99,11 +99,6 @@ export default { default: 999, }, }, - watch: { - recipes() { - console.log(this.recipes); - }, - }, computed: { viewScale() { switch (this.$vuetify.breakpoint.name) { diff --git a/frontend/src/components/UI/Search/SearchBar.vue b/frontend/src/components/UI/Search/SearchBar.vue index cb7f41fa7..b83fcbed4 100644 --- a/frontend/src/components/UI/Search/SearchBar.vue +++ b/frontend/src/components/UI/Search/SearchBar.vue @@ -154,7 +154,6 @@ export default { return utils.getImageURL(image); }, selected(slug, name) { - console.log("Selected", slug, name); this.$emit("selected", slug, name); }, async onFocus() { diff --git a/frontend/src/pages/HomePage.vue b/frontend/src/pages/HomePage.vue index ac6b06a6f..a57a2b0a2 100644 --- a/frontend/src/pages/HomePage.vue +++ b/frontend/src/pages/HomePage.vue @@ -36,7 +36,6 @@ export default { }, computed: { siteSettings() { - console.log(this.$store.getters.getSiteSettings); return this.$store.getters.getSiteSettings; }, recentRecipes() { @@ -54,7 +53,6 @@ export default { this.siteSettings.categories.forEach(async element => { let recipes = await this.getRecipeByCategory(element.slug); if (recipes.recipes.length < 0) recipes.recipes = []; - console.log(recipes); this.recipeByCategory.push(recipes); }); }, diff --git a/frontend/src/pages/Recipes/TagPage.vue b/frontend/src/pages/Recipes/TagPage.vue index 7ad72bf6c..e49fdb332 100644 --- a/frontend/src/pages/Recipes/TagPage.vue +++ b/frontend/src/pages/Recipes/TagPage.vue @@ -43,7 +43,6 @@ export default { methods: { async getRecipes() { let data = await api.tags.getRecipesInTag(this.currentTag); - console.log(data); this.title = data.name; this.recipes = data.recipes; },