Skip to content

Commit

Permalink
re-add gqlFilter to TargetGroupsGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Wegmayr committed Oct 28, 2024
1 parent 51c898c commit fd436ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/admin/src/targetGroups/TargetGroupsGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,12 @@ export function TargetGroupsGrid({
},
];

const { search: gqlSearch } = muiGridFilterToGql(columns, dataGridProps.filterModel);
const { filter: gqlFilter, search: gqlSearch } = muiGridFilterToGql(columns, dataGridProps.filterModel);

const { data, loading, error } = useQuery<GQLTargetGroupsGridQuery, GQLTargetGroupsGridQueryVariables>(targetGroupsQuery, {
variables: {
scope,
filter: gqlFilter,
search: gqlSearch,
offset: dataGridProps.page * dataGridProps.pageSize,
limit: dataGridProps.pageSize,
Expand Down

0 comments on commit fd436ca

Please sign in to comment.