mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 19:28:59 +08:00
feat: getPaginationQueryData is updated (#3248)
Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
This commit is contained in:
parent
f1fff4ca0c
commit
5bf64053b7
@ -33,13 +33,10 @@ export const getPaginationQueryData: SetupPaginationQueryData = ({
|
||||
const filters = currentStagedQueryData.filters || initialFilters;
|
||||
const offset = (page - 1) * pageSize;
|
||||
|
||||
const queryProps =
|
||||
(orderByTimestamp && currentStagedQueryData.orderBy.length > 1) ||
|
||||
!orderByTimestamp
|
||||
? {
|
||||
offset,
|
||||
}
|
||||
: {};
|
||||
const queryProps = {
|
||||
offset,
|
||||
pageSize,
|
||||
};
|
||||
|
||||
const updatedFilters: TagFilter = {
|
||||
...filters,
|
||||
|
Loading…
x
Reference in New Issue
Block a user