mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
cleanup
This commit is contained in:
parent
c5636a03e7
commit
f45107b4f2
4 changed files with 3 additions and 6 deletions
|
@ -59,7 +59,7 @@
|
||||||
- All images are now converted to .webp for better compression
|
- All images are now converted to .webp for better compression
|
||||||
|
|
||||||
### General
|
### General
|
||||||
- New 'Dark' Theme Packages with Mealie
|
- New 'Dark' Color Theme Packaged with Mealie
|
||||||
- Updated Recipe Card Sections Toolbar
|
- Updated Recipe Card Sections Toolbar
|
||||||
- New Sort Options (They work this time!)
|
- New Sort Options (They work this time!)
|
||||||
- Alphabetical
|
- Alphabetical
|
||||||
|
@ -82,6 +82,7 @@
|
||||||
- Improved styling for search bar in desktop
|
- Improved styling for search bar in desktop
|
||||||
- Improved search layout on mobile
|
- Improved search layout on mobile
|
||||||
- Profile image now shown on all sidebars
|
- Profile image now shown on all sidebars
|
||||||
|
- Switched from Flash Messages to Snackbar (Removed dependency
|
||||||
|
|
||||||
### Behind the Scenes
|
### Behind the Scenes
|
||||||
- Black and Flake8 now run as CI/CD checks
|
- Black and Flake8 now run as CI/CD checks
|
||||||
|
|
|
@ -22,7 +22,6 @@ export default {
|
||||||
this.$store.commit("setSnackbar", val);
|
this.$store.commit("setSnackbar", val);
|
||||||
},
|
},
|
||||||
get() {
|
get() {
|
||||||
console.log(this.$store.getters.getSnackbar);
|
|
||||||
return this.$store.getters.getSnackbar;
|
return this.$store.getters.getSnackbar;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,7 +38,6 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
async TagOrCategory() {
|
async TagOrCategory() {
|
||||||
console.log(this.currentCategory, this.currentTag);
|
|
||||||
this.sortedResults = [];
|
this.sortedResults = [];
|
||||||
this.getRecipes();
|
this.getRecipes();
|
||||||
},
|
},
|
||||||
|
@ -50,7 +49,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async getRecipes() {
|
async getRecipes() {
|
||||||
if (!this.TagOrCategory === null) return;
|
if (!this.TagOrCategory === null) return;
|
||||||
console.log(this.TagOrCategory);
|
|
||||||
|
|
||||||
let data = {};
|
let data = {};
|
||||||
if (this.currentCategory) {
|
if (this.currentCategory) {
|
||||||
|
@ -58,7 +56,6 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
data = await api.tags.getRecipesInTag(this.TagOrCategory);
|
data = await api.tags.getRecipesInTag(this.TagOrCategory);
|
||||||
}
|
}
|
||||||
console.log(data);
|
|
||||||
this.title = data.name;
|
this.title = data.name;
|
||||||
this.recipes = data.recipes;
|
this.recipes = data.recipes;
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const state = {
|
const state = {
|
||||||
snackbar: {
|
snackbar: {
|
||||||
open: true,
|
open: false,
|
||||||
text: "Hello From The Store",
|
text: "Hello From The Store",
|
||||||
color: "info",
|
color: "info",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue