-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bank account - Workspace default currency becomes accessible after opening bank account RHP #38230
Comments
Triggered auto assignment to @MitchExpensify ( |
@MitchExpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace default currency becomes accessible after opening bank account RHP What is the root cause of that problem?We don't define App/src/pages/workspace/WorkspaceProfilePage.tsx Lines 174 to 178 in ffb7c5e
The current definition is:
For the very first time What changes do you think we should make in order to solve the problem?We need to have a define const hasVBA = state === BankAccount.STATE.OPEN; We need to update the reimbursementAccount: OnyxEntry<ReimbursementAccount>; Then we need to get const { state} = reimbursementAccount?.achData ?? {}; We already do this in App/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx Lines 77 to 78 in fa6bcc0
The condition to disable currency will still remain unaffected What alternative solutions did you explore? (Optional)N/A |
Same issue as #36376 |
Closing because dupe |
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: 1.4.51-3
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The workspace currency list will not be accessible because a US bank account is added.
Actual Result:
The workspace currency list becomes accessible after reopening bank account when US bank account is added.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6412229_1710334888914.bandicam_2024-03-13_20-34-03-031.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: