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:
parent
2f3d4a5511
commit
1061601714
2 changed files with 4 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue