fix: some advanced settings have undefined default values#69210
Conversation
|
@truph01 Should we remove the useless translations of |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppI encountered an error when building app on this platform. Android: mWeb ChromeScreen.Recording.2025-08-29.at.14.22.39.moviOS: HybridAppScreen.Recording.2025-08-29.at.14.36.33.moviOS: mWeb SafariScreen.Recording.2025-08-29.at.14.19.22.movMacOS: Chrome / SafariScreen.Recording.2025-08-29.at.14.11.55.movMacOS: DesktopScreen.Recording.2025-08-29.at.14.14.03.mov |
| POLICY_ACCOUNTING_SAGE_INTACCT_PAYMENT_ACCOUNT: { | ||
| route: 'workspaces/:policyID/accounting/sage-intacct/advanced/payment-account', | ||
| getRoute: (policyID: string) => `workspaces/${policyID}/accounting/sage-intacct/advanced/payment-account` as const, | ||
| getRoute: (policyID: string | undefined) => { |
There was a problem hiding this comment.
Do we need this change? It looks like it isn't in the scope of this issue.
There was a problem hiding this comment.
@truph01 we need the change because we pass the policyID as undefined when fix the eslint
|
thanks for your review @truph01, i updated |
|
@nkdengineer We have ESLint errors |
|
@truph01 i fixed |
|
Seems like we have some failing tests. Can you merge main? |
|
@Gonals it's ready now |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/Gonals in version: 9.2.9-0 🚀
|
|
🚀 Deployed to staging by https://github.com/Gonals in version: 9.2.11-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.12-4 🚀
|
Explanation of Change
Fixed Issues
$ #68599
PROPOSAL: #68599 (comment)
Tests
Preconditions: workspace with connected Xero integration.
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop