-
Notifications
You must be signed in to change notification settings - Fork 2
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: ORV2-1933 Cleanup PayBC Redirection Flow #1159
Conversation
frontend/src/features/permits/pages/Payment/PaymentRedirect.tsx
Outdated
Show resolved
Hide resolved
const ids:string[] = []; | ||
getPaymentByTransactionId(transactionId) | ||
.then((response) => { | ||
response?.applicationDetails?.forEach((application) => { |
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.
Shouldn't we use a useQuery for this?
|
||
if (permitIdsArray.length === 0) { | ||
if (applicationIds?.length === 0) { |
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.
Line 74 and Line 76 are contradictory if checks. applicationIds?.length > 0 and applicationIds?.length === 0
Quality Gate passed for 'onroutebc vehicles'Issues Measures |
Quality Gate failed for 'onroutebc frontend'Failed conditions |
Description
??
that was appearingFixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Further comments
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are promoted to: