Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ftd message added to checkout page for first time lenders #5052

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

roger-in-kiva
Copy link
Collaborator

  • FTDs message added to checkout page for first time lenders
  • Admin settings updated for checkout and thank you pages

this.lenderTotalLoans = _get(data, 'my.loans.totalCount') ?? 0;
this.isFtdMessageEnable = _get(data, 'general.ftd_message_enable')?.value ?? false;
this.ftdCreditAmount = _get(data, 'general.ftd_amount')?.value ?? '';
this.ftdValidDate = _get(data, 'general.ftd_date')?.value ?? '';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please use optional chaining here instead of lodash?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been steadly trying to replace all of the _get calls b/c it's now possible without it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely, thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@roger-in-kiva roger-in-kiva merged commit 47e0159 into main Oct 30, 2023
4 checks passed
@roger-in-kiva roger-in-kiva deleted the CORE-1593_ftds_message_checkout_page branch October 30, 2023 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants