Display person who made the reservation instead of approver for trips#56099
Conversation
|
@shubham1206agra 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] |
| case CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW: { | ||
| const ownerAccountID = iouReport?.ownerAccountID ?? reportAction?.childOwnerAccountID; | ||
| const actorAccountID = iouReport?.managerID ?? reportAction?.childManagerAccountID; | ||
| return isPolicyExpenseChat(report) ? ownerAccountID : actorAccountID; |
There was a problem hiding this comment.
@blazejkustra Why this change was necessary here?
There was a problem hiding this comment.
It wasn't, do you think I should revert this change?
Reviewer Checklist
Screenshots/Videos |
|
@blazejkustra the name of the person who sent the message is set as the trip room name, I think the problem might be related to what we are fixing here, do you mind taking a look? |
I thought this was expected behaviour, I'm looking into it now 😄 |
|
|
|
@blazejkustra oh I am sorry, I didn't know that, feel free to revert the change then. I will ask in Slack if it is something we should change, it felt like a bug to me 😅 |
This reverts commit bb6e4cb.
|
✋ 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/rlinoz in version: 9.0.94-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|








Explanation of Change
Fixed Issues
$ #55906
PROPOSAL: N/A
Tests
Extra:
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
iOS: Native
Simulator.Screen.Recording.-.iPhone.taki.SE.-.2025-01-30.at.18.56.11.mp4
MacOS: Chrome / Safari
web3.mov