Add assigment of crew to events and shifts
This commit is contained in:
parent
0aff9cc94a
commit
cef6b13dd1
7 changed files with 153 additions and 3 deletions
9
composables/accounts.ts
Normal file
9
composables/accounts.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
export const useAccounts = () => useFetch(
|
||||
"/api/accounts",
|
||||
{
|
||||
transform: (input) => input === undefined ? false as any as null: input,
|
||||
getCachedData(key, nuxtApp) {
|
||||
return nuxtApp.payload.data[key];
|
||||
},
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue