Removed console Log statements

This commit is contained in:
zackbcom 2021-01-07 23:16:55 -06:00
parent 570dcbaf17
commit b72227e5df
3 changed files with 9 additions and 13 deletions

View file

@ -19,7 +19,6 @@ export default {
async requestByName(name) { async requestByName(name) {
let response = await apiReq.get(settingsURLs.specificTheme(name)); let response = await apiReq.get(settingsURLs.specificTheme(name));
console.log(response);
return response.data; return response.data;
}, },

View file

@ -177,7 +177,6 @@ export default {
//Get the new list of available from DB //Get the new list of available from DB
this.availableThemes = await api.themes.requestAll(); this.availableThemes = await api.themes.requestAll();
console.log("themes", this.availableThemes);
//Change to default if deleting current theme. //Change to default if deleting current theme.
if ( if (
@ -185,7 +184,6 @@ export default {
theme => theme.name === this.selectedTheme.name theme => theme.name === this.selectedTheme.name
) )
) { ) {
console.log("hit");
await this.$store.dispatch("resetTheme"); await this.$store.dispatch("resetTheme");
this.selectedTheme = this.$store.getters.getActiveTheme; this.selectedTheme = this.$store.getters.getActiveTheme;
} }

View file

@ -56,7 +56,7 @@ export default {
VJsoneditor, VJsoneditor,
ViewRecipe, ViewRecipe,
EditRecipe, EditRecipe,
ButtonRow, ButtonRow
}, },
data() { data() {
return { return {
@ -66,7 +66,7 @@ export default {
jsonEditorOptions: { jsonEditorOptions: {
mode: "code", mode: "code",
search: false, search: false,
mainMenuBar: false, mainMenuBar: false
}, },
// Recipe Details // // Recipe Details //
recipeDetails: { recipeDetails: {
@ -83,9 +83,9 @@ export default {
categories: [], categories: [],
dateAdded: "", dateAdded: "",
notes: [], notes: [],
rating: 0, rating: 0
}, },
imageKey: 1, imageKey: 1
}; };
}, },
mounted() { mounted() {
@ -93,9 +93,9 @@ export default {
}, },
watch: { watch: {
$route: function () { $route: function() {
this.getRecipeDetails(); this.getRecipeDetails();
}, }
}, },
computed: { computed: {
@ -111,7 +111,7 @@ export default {
} else { } else {
return false; return false;
} }
}, }
}, },
methods: { methods: {
getImageFile(fileObject) { getImageFile(fileObject) {
@ -130,7 +130,6 @@ export default {
api.recipes.delete(this.recipeDetails.slug); api.recipes.delete(this.recipeDetails.slug);
}, },
async saveRecipe() { async saveRecipe() {
console.log(this.recipeDetails);
await api.recipes.update(this.recipeDetails); await api.recipes.update(this.recipeDetails);
if (this.fileObject) { if (this.fileObject) {
@ -143,8 +142,8 @@ export default {
showForm() { showForm() {
this.form = true; this.form = true;
this.jsonEditor = false; this.jsonEditor = false;
}, }
}, }
}; };
</script> </script>