Skip to content

Commit

Permalink
fix(capture counts): assigns counts according to selected grower (Gre…
Browse files Browse the repository at this point in the history
  • Loading branch information
andres039 authored Apr 2, 2023
1 parent 6f2c57f commit 798896b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GrowerDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const GrowerDetail = ({ open, growerId, onClose }) => {

async function getCaptureCountGrower(status, growerId) {
let filter = new FilterModel();
filter.growerAccountId = growerId?.toString();
filter.grower_account_id = growerId?.toString();
filter.status = status;
log.warn('Need to get capture count for grower:', filter.status);
const countResponse = await treeTrackerApi.getRawCaptureCount({ filter });
Expand Down

0 comments on commit 798896b

Please sign in to comment.