mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-24 07:15:24 -07:00
fix group typing
This commit is contained in:
parent
b578d8d4f7
commit
4c95fe851a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { useUserApi } from "~/composables/api";
|
import { useUserApi } from "~/composables/api";
|
||||||
import type { GroupBase, GroupSummary } from "~/lib/api/types/user";
|
import type { GroupBase, GroupInDB, GroupSummary } from "~/lib/api/types/user";
|
||||||
|
|
||||||
const groupSelfRef = ref<GroupSummary | null>(null);
|
const groupSelfRef = ref<GroupSummary | null>(null);
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
|
@ -45,7 +45,7 @@ export const useGroupSelf = function () {
|
||||||
export const useGroups = function () {
|
export const useGroups = function () {
|
||||||
const api = useUserApi();
|
const api = useUserApi();
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const groups = ref<GroupSummary[] | null>(null);
|
const groups = ref<GroupInDB[] | null>(null);
|
||||||
|
|
||||||
async function getAllGroups() {
|
async function getAllGroups() {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue