diff --git a/frontend/src/routes/(admin)/admin/(authenticated)/dashboard/+page.svelte b/frontend/src/routes/(admin)/admin/(authenticated)/dashboard/+page.svelte index ba4f391..c7ce898 100644 --- a/frontend/src/routes/(admin)/admin/(authenticated)/dashboard/+page.svelte +++ b/frontend/src/routes/(admin)/admin/(authenticated)/dashboard/+page.svelte @@ -20,7 +20,7 @@ const getCandidates = async () => { try { - candidates = await apiListCandidates(undefined, activeFilter.filter); + candidates = await apiListCandidates(undefined, {field: activeFilter.filter}); } catch { pushErrorText('Nepodařilo se načíst uchazeče'); }