From b72227e5df0776ead7a3f425872ea26fc63a65d7 Mon Sep 17 00:00:00 2001 From: zackbcom Date: Thu, 7 Jan 2021 23:16:55 -0600 Subject: [PATCH] Removed console Log statements --- frontend/src/api/themes.js | 1 - frontend/src/components/Admin/Theme.vue | 2 -- frontend/src/components/Recipe.vue | 19 +++++++++---------- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/frontend/src/api/themes.js b/frontend/src/api/themes.js index 866848325643..04ae7eb75915 100644 --- a/frontend/src/api/themes.js +++ b/frontend/src/api/themes.js @@ -19,7 +19,6 @@ export default { async requestByName(name) { let response = await apiReq.get(settingsURLs.specificTheme(name)); - console.log(response); return response.data; }, diff --git a/frontend/src/components/Admin/Theme.vue b/frontend/src/components/Admin/Theme.vue index 057d80195c8d..3699c5ed4c8e 100644 --- a/frontend/src/components/Admin/Theme.vue +++ b/frontend/src/components/Admin/Theme.vue @@ -177,7 +177,6 @@ export default { //Get the new list of available from DB this.availableThemes = await api.themes.requestAll(); - console.log("themes", this.availableThemes); //Change to default if deleting current theme. if ( @@ -185,7 +184,6 @@ export default { theme => theme.name === this.selectedTheme.name ) ) { - console.log("hit"); await this.$store.dispatch("resetTheme"); this.selectedTheme = this.$store.getters.getActiveTheme; } diff --git a/frontend/src/components/Recipe.vue b/frontend/src/components/Recipe.vue index 08d0d443b6ba..e28dd9836816 100644 --- a/frontend/src/components/Recipe.vue +++ b/frontend/src/components/Recipe.vue @@ -56,7 +56,7 @@ export default { VJsoneditor, ViewRecipe, EditRecipe, - ButtonRow, + ButtonRow }, data() { return { @@ -66,7 +66,7 @@ export default { jsonEditorOptions: { mode: "code", search: false, - mainMenuBar: false, + mainMenuBar: false }, // Recipe Details // recipeDetails: { @@ -83,9 +83,9 @@ export default { categories: [], dateAdded: "", notes: [], - rating: 0, + rating: 0 }, - imageKey: 1, + imageKey: 1 }; }, mounted() { @@ -93,9 +93,9 @@ export default { }, watch: { - $route: function () { + $route: function() { this.getRecipeDetails(); - }, + } }, computed: { @@ -111,7 +111,7 @@ export default { } else { return false; } - }, + } }, methods: { getImageFile(fileObject) { @@ -130,7 +130,6 @@ export default { api.recipes.delete(this.recipeDetails.slug); }, async saveRecipe() { - console.log(this.recipeDetails); await api.recipes.update(this.recipeDetails); if (this.fileObject) { @@ -143,8 +142,8 @@ export default { showForm() { this.form = true; this.jsonEditor = false; - }, - }, + } + } };