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

pull/12292/merge
andres-portainer 4 weeks ago committed by GitHub
parent 9ea62bda28
commit 2f3d4a5511

@ -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
? {

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

Loading…
Cancel
Save