mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 15:19:41 +02:00
feat: Add Households to Mealie (#3970)
This commit is contained in:
parent
0c29cef17d
commit
eb170cc7e5
315 changed files with 6975 additions and 3577 deletions
|
@ -51,7 +51,7 @@ export const useGroups = function () {
|
|||
loading.value = true;
|
||||
const asyncKey = String(Date.now());
|
||||
const groups = useAsync(async () => {
|
||||
const { data } = await api.groups.getAll();
|
||||
const { data } = await api.groups.getAll(1, -1, {orderBy: "name", orderDirection: "asc"});;
|
||||
|
||||
if (data) {
|
||||
return data.items;
|
||||
|
@ -66,7 +66,7 @@ export const useGroups = function () {
|
|||
|
||||
async function refreshAllGroups() {
|
||||
loading.value = true;
|
||||
const { data } = await api.groups.getAll();
|
||||
const { data } = await api.groups.getAll(1, -1, {orderBy: "name", orderDirection: "asc"});;
|
||||
|
||||
if (data) {
|
||||
groups.value = data.items;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue