mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-03 09:04:06 -05:00
fixed backwards sort
This commit is contained in:
@@ -45,7 +45,8 @@ export default {
|
|||||||
return this.$store.getters.getHomeCategories;
|
return this.$store.getters.getHomeCategories;
|
||||||
},
|
},
|
||||||
recentRecipes() {
|
recentRecipes() {
|
||||||
return this.$store.getters.getRecentRecipes;
|
let recipes = this.$store.getters.getRecentRecipes;
|
||||||
|
return recipes.sort((a, b) => (a.dateAdded > b.dateAdded ? -1 : 1));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user