fix: Change approver option still exist after disabling approval feature in workflow#76798
fix: Change approver option still exist after disabling approval feature in workflow#76798MonilBhavsar merged 4 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@bernhardoj Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.mp4Android: mWeb Chromeandroid.mweb.mp4iOS: HybridAppios.mp4iOS: mWeb Safariios.mweb.mp4MacOS: Chrome / Safariweb.mp4 |
| } | ||
|
|
||
| if (isExpenseReportUtils(report) && isProcessingReportUtils(report) && isPolicyAdmin(policy)) { | ||
| if (isExpenseReportUtils(report) && isProcessingReportUtils(report) && isPolicyAdmin(policy) && isApprovalEnabled) { |
There was a problem hiding this comment.
NAB: Can we move the isApprovalEnabled definition above this if block?
Co-authored-by: Monil Bhavsar <monilbhavsar25@gmail.com>
|
@MonilBhavsar I updated. |
|
✋ 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/MonilBhavsar in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 9.2.75-0 🚀
|
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 9.2.77-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.2.77-1 🚀
|
Explanation of Change
fix: Change approver option still exist after disabling approval feature in workflow
Fixed Issues
$ #76655
PROPOSAL: #76655 (comment)
Tests
Change approveroption isn't shownOffline tests
Same
QA Steps
Same as test
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))npm run compress-svg)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
Screen.Recording.2025-12-05.at.13.53.07.mov
Android: mWeb Chrome
Screen.Recording.2025-12-05.at.13.53.29.mov
iOS: Native
Screen.Recording.2025-12-05.at.13.52.21.mov
iOS: mWeb Safari
Screen.Recording.2025-12-05.at.13.52.50.mov
MacOS: Chrome / Safari
Screen.Recording.2025-12-05.at.13.51.12.mov