1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-03 21:05:23 +02:00

fix(activity-log): fix broken sorting BE-11342 (#65)

This commit is contained in:
andres-portainer 2024-10-31 17:25:38 -03:00 committed by GitHub
parent 9ea62bda28
commit 2f3d4a5511
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export function ActivityLogsView() {
offset,
limit: tableState.pageSize,
sortBy: getSortType(tableState.sortBy?.id),
desc: tableState.sortBy?.desc,
sortDesc: tableState.sortBy?.desc,
search: tableState.search,
...(range
? {

View file

@ -19,7 +19,7 @@ export interface Query {
offset: number;
limit: number;
sortBy?: SortKey;
desc?: boolean;
sortDesc?: boolean;
search: string;
after?: number;
before?: number;