From f45107b4f2a46c57ea3965f7cb1bfd77b1c50069 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 7 May 2021 14:26:23 -0800 Subject: [PATCH] cleanup --- docs/docs/changelog/v0.5.0.md | 3 ++- frontend/src/components/UI/GlobalSnackbar.vue | 1 - frontend/src/pages/Recipes/CategoryTagPage.vue | 3 --- frontend/src/store/modules/snackbar.js | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/docs/changelog/v0.5.0.md b/docs/docs/changelog/v0.5.0.md index 15050e5df..6f092a940 100644 --- a/docs/docs/changelog/v0.5.0.md +++ b/docs/docs/changelog/v0.5.0.md @@ -59,7 +59,7 @@ - All images are now converted to .webp for better compression ### General -- New 'Dark' Theme Packages with Mealie +- New 'Dark' Color Theme Packaged with Mealie - Updated Recipe Card Sections Toolbar - New Sort Options (They work this time!) - Alphabetical @@ -82,6 +82,7 @@ - Improved styling for search bar in desktop - Improved search layout on mobile - Profile image now shown on all sidebars +- Switched from Flash Messages to Snackbar (Removed dependency ### Behind the Scenes - Black and Flake8 now run as CI/CD checks diff --git a/frontend/src/components/UI/GlobalSnackbar.vue b/frontend/src/components/UI/GlobalSnackbar.vue index e6ff6d33d..437d20a46 100644 --- a/frontend/src/components/UI/GlobalSnackbar.vue +++ b/frontend/src/components/UI/GlobalSnackbar.vue @@ -22,7 +22,6 @@ export default { this.$store.commit("setSnackbar", val); }, get() { - console.log(this.$store.getters.getSnackbar); return this.$store.getters.getSnackbar; }, }, diff --git a/frontend/src/pages/Recipes/CategoryTagPage.vue b/frontend/src/pages/Recipes/CategoryTagPage.vue index 6f58a99a2..d5b072212 100644 --- a/frontend/src/pages/Recipes/CategoryTagPage.vue +++ b/frontend/src/pages/Recipes/CategoryTagPage.vue @@ -38,7 +38,6 @@ export default { }, watch: { async TagOrCategory() { - console.log(this.currentCategory, this.currentTag); this.sortedResults = []; this.getRecipes(); }, @@ -50,7 +49,6 @@ export default { methods: { async getRecipes() { if (!this.TagOrCategory === null) return; - console.log(this.TagOrCategory); let data = {}; if (this.currentCategory) { @@ -58,7 +56,6 @@ export default { } else { data = await api.tags.getRecipesInTag(this.TagOrCategory); } - console.log(data); this.title = data.name; this.recipes = data.recipes; }, diff --git a/frontend/src/store/modules/snackbar.js b/frontend/src/store/modules/snackbar.js index 8339cb51a..21ae1a398 100644 --- a/frontend/src/store/modules/snackbar.js +++ b/frontend/src/store/modules/snackbar.js @@ -1,6 +1,6 @@ const state = { snackbar: { - open: true, + open: false, text: "Hello From The Store", color: "info", },