edit Leere Liste in Vorgang und Crime
This commit is contained in:
12
src/routes/(angemeldet)/list/+page.ts
Normal file
12
src/routes/(angemeldet)/list/+page.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
export async function load({fetch}){
|
||||
const vorgangResponse = await fetch(`/api/list`);
|
||||
const vorgangList = await vorgangResponse.json();
|
||||
|
||||
return {
|
||||
|
||||
vorgangList,
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user