Skip to content

Commit

Permalink
passes geoRegionIds parameter correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Mar 19, 2024
1 parent 3831dfe commit de0f9a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const SuppliersListTable = (): JSX.Element => {
// const [columnFilters, setColumnFilters] = useState<ColumnFiltersState>([]);
const [sorting, setSorting] = useState<SortingState>([]);
const {
filters: { dates, suppliers, origins, materials },
filters: { dates, suppliers, origins, materials, plots },
} = useAppSelector(eudr);

const { data, isFetching } = useEUDRData(
Expand All @@ -66,6 +66,7 @@ const SuppliersListTable = (): JSX.Element => {
producerIds: suppliers?.map(({ value }) => value),
materialIds: materials?.map(({ value }) => value),
originIds: origins?.map(({ value }) => value),
geoRegionIds: plots?.map(({ value }) => value),
},
{
select: (data) => data?.table,
Expand Down

0 comments on commit de0f9a4

Please sign in to comment.