Skip to content

Commit

Permalink
CM-766: fetch payment plans related do benefit plan in picker
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Mar 10, 2024
1 parent 32dae5d commit b52eea7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pickers/PaymentPlanPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ class PaymentPlanPicker extends Component {
}

queryParams = () => {
const { periodicity, withDeleted = false } = this.props;
const { periodicity, benefitPlanId, withDeleted = false } = this.props;
let params = [];
params.push(`isDeleted: ${withDeleted}`);
if (!!periodicity) {
params.push(`periodicity: ${periodicity}`);
}
if (!!benefitPlanId) {
params.push(`benefitPlanId: "${benefitPlanId}"`);
}
return params;
}

Expand Down

0 comments on commit b52eea7

Please sign in to comment.