pl-fe: revert backups order
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
29cd637a6b
commit
ab70e2a257
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const useBackupsQuery = () => {
|
||||||
return useQuery({
|
return useQuery({
|
||||||
queryKey: ['settings', 'backups'],
|
queryKey: ['settings', 'backups'],
|
||||||
queryFn: () => client.settings.getBackups(),
|
queryFn: () => client.settings.getBackups(),
|
||||||
select: (backups) => backups.toSorted((a, b) => a.inserted_at.localeCompare(b.inserted_at)),
|
select: (backups) => backups.toSorted((a, b) => b.inserted_at.localeCompare(a.inserted_at)),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue