feat(admin dashboard): sort candidates by createdAt_desc by default

This commit is contained in:
Sebastian Pravda 2023-02-15 15:19:58 +01:00
parent 89e6ca773b
commit fc7be0e6cc
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -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');
}