-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2
Description
coming from https://github.com/Expensify/App/pull/80209/changes#diff-010911fd56cd74ff46fd42cd2a137e01f8a050eaf4a038d837ffa3b5912a5607 cc @dukenv0307
Problem
There is a long chain of code that starts with getPolicyExpenseReportOption() accepting a string value for privateIsArchived. When you trace the code down through createOption(), you can see that privateIsArchived is always cast to a boolean by prepending the value with !!.
Solution
Update the code path for this value to be a boolean all the way from the view components (use the useReportIsArchived() hook) down to where the value is used.
Issue Owner
Current Issue Owner: @TaduJRUpwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022031040957245803210
- Upwork Job ID: 2031040957245803210
- Last Price Increase: 2026-03-16
Reactions are currently unavailable
Metadata
Metadata
Labels
BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2