mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 08:34:17 -05:00
fixed backwards sort
This commit is contained in:
@@ -45,7 +45,8 @@ export default {
|
||||
return this.$store.getters.getHomeCategories;
|
||||
},
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user