- updated tables, checked filters;

This commit is contained in:
Vitalii Kiiko
2025-04-07 11:12:37 +02:00
parent 9acf1c2041
commit 44ba9036cb
30 changed files with 75 additions and 63 deletions

View File

@@ -1,7 +1,7 @@
import { isEmpty, pathOr } from 'ramda';
import formatDateString from './formatDateString';
const getQueryParamsForPaginatedEndpoint = (lazyState, statuses, sortByCol = 'applicationId') => {
const getQueryParamsForPaginatedEndpoint = (lazyState, statuses, sortByCol = 'applicationId', extraCfg = {}) => {
let sortBy = {
columnName: sortByCol,
sortDesc: true
@@ -31,6 +31,7 @@ const getQueryParamsForPaginatedEndpoint = (lazyState, statuses, sortByCol = 'ap
}
return acc;
}, {}),
...extraCfg
}
}