Skip to content

Commit

Permalink
fix: added null check for filters as well
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed May 6, 2024
1 parent 25963cd commit 8e0eb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/newQueryBuilder/getPaginationQueryData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const getPaginationQueryData: SetupPaginationQueryData = ({

const updatedFilters: TagFilter = {
...filters,
items: filters.items?.filter((item) => item.key?.key !== 'id'),
items: filters?.items?.filter((item) => item.key?.key !== 'id'),
};

const tagFilters: TagFilter = {
Expand Down

0 comments on commit 8e0eb91

Please sign in to comment.