Open grgia opened 3 days ago
Triggered auto assignment to @mallenexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Checking to see if this is same/similar to what Cole reported https://expensify.slack.com/archives/C01SKUP7QR0/p1727461394841889?thread_ts=1727360298.835599&cid=C01SKUP7QR0
Context
Follow up to https://github.com/Expensify/App/pull/49172
Reported here: https://github.com/Expensify/App/pull/49172#issuecomment-2374163798
Steps Taken
MULTI TRANSACTIONS FROM DIFFERENT USERS (IOU) AVATAR CASE
Expected Result: Report preview avatar is both avatars, user A and B
Actual Result: Report preview avatar is still only user A until refresh
Video
https://github.com/user-attachments/assets/077ef9ff-1a99-484b-95bc-6322990c18e3
https://github.com/user-attachments/assets/c948febf-3340-4c57-a297-065681d62588
Solution
I think this is probably an issue with updating the iouReport data optimistically when the IOU is made. https://github.com/Expensify/App/blob/main/src/libs/actions/IOU.ts#L1998