-
Notifications
You must be signed in to change notification settings - Fork 127
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
97211 [CDP] Bug - Account number not showing on copay statement page #33752
Conversation
const acctNum = selectedCopay?.pHAccountNumber | ||
? selectedCopay?.pHAccountNumber.toString() | ||
: selectedCopay?.pHCernerAccountNumber.toString(); | ||
const acctNum = selectedCopay?.accountNumber; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just double check on a potential fallback value, or include maybe a Sentry error to throw saying we're missing it? (without capturing any PII)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@penny-lischer, I think what we want here is something like this:
selectedCopay?.accountNumber || selectedCopay?.pHAccountNumber
This will give us the fallback we need prioritizing the value we want and then using the value we had originally.
…into 97211_account_number_bug_copay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.
Are you removing, renaming or moving a folder in this PR?
Did you change site-wide styles, platform utilities or other infrastructure?
Summary
Related issue(s)
[CDP] Bug - Account number not showing on statement page va.gov-team#97211
[CDP] Build a pay.gov compatible account number va.gov-team#91391
Testing done
Screenshots
What areas of the site does it impact?
(Describe what parts of the site are impacted if code touched other areas)
Acceptance criteria
Quality Assurance & Testing
Error Handling
Authentication
Requested Feedback
(OPTIONAL) What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?