1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 15:25:22 +02:00

feat(activity-log): set descending timestamps as the default sorting order BE-11343 (#66)

This commit is contained in:
andres-portainer 2024-10-31 18:07:26 -03:00 committed by GitHub
parent 2f3d4a5511
commit 1061601714
2 changed files with 4 additions and 3 deletions

View file

@ -17,7 +17,7 @@ export function ActivityLogsView() {
{ start: Date; end: Date | null } | undefined
>(undefined);
const [page, setPage] = useState(0);
const tableState = useTableStateWithoutStorage('Timestamp');
const tableState = useTableStateWithoutStorage('Timestamp', true);
const offset = page * tableState.pageSize;
const query = {