mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
order shopping lists alphabetically
This commit is contained in:
parent
98c8694979
commit
3d4405cd42
3 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ export default defineComponent({
|
|||
})
|
||||
|
||||
async function getShoppingLists() {
|
||||
const { data } = await api.shopping.lists.getAll();
|
||||
const { data } = await api.shopping.lists.getAll(1, -1, { orderBy: "name", orderDirection: "asc" });
|
||||
if (data) {
|
||||
shoppingLists.value = data.items ?? [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue