- updated tables, checked filters;
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user