mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-24 17:11:49 +00:00
feat(admin dashboard): sort candidates by createdAt_desc by default
This commit is contained in:
parent
89e6ca773b
commit
fc7be0e6cc
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
const getCandidates = async () => {
|
const getCandidates = async () => {
|
||||||
try {
|
try {
|
||||||
candidates = await apiListCandidates(undefined, activeFilter.filter);
|
candidates = await apiListCandidates(undefined, {field: activeFilter.filter});
|
||||||
} catch {
|
} catch {
|
||||||
pushErrorText('Nepodařilo se načíst uchazeče');
|
pushErrorText('Nepodařilo se načíst uchazeče');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue