-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$125] Wallet - No "Make default payment method" option after adding 2nd account #52641
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Reproduced |
Job added to Upwork: https://www.upwork.com/jobs/~021857547420122900843 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Pretty minor bug, so adjusting price |
Upwork job price has been updated to $125 |
Edited by proposal-police: This proposal was edited at 2024-11-15 22:56:19 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The "Make default payment method" button is not appearing when a second payment method is added until the page is refreshed. What is the root cause of that problem?
This logic is insufficient because isSelectedPaymentMethodDefault remains true for previous default payment method, when we add a new payment method, until we refresh the page and the What changes do you think we should make in order to solve the problem?we can add the same check here, as I added in my last PR here:#51437 we can use this check :
update the condition:
as:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option What is the root cause of that problem?The condition to show the
App/src/pages/settings/Wallet/WalletPage/WalletPage.tsx Lines 317 to 319 in b0378aa
What changes do you think we should make in order to solve the problem?We should also use
What alternative solutions did you explore? (Optional) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.63
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #51437
Action Performed:
Expected Result:
The "Make default payment method" option is displayed in the three-dot menu of the first bank account added without needing a page refresh
Actual Result:
The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6666585_1731691611157.51437-mWeb.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @thesahindiaThe text was updated successfully, but these errors were encountered: