Skip to content

Commit

Permalink
Merge pull request #50068 from Expensify/georgia-deployblocker-justtr…
Browse files Browse the repository at this point in the history
…ackit

don't show just track it option unless coming from CREATE flow
  • Loading branch information
grgia authored Oct 3, 2024
2 parents efa3274 + 45ce5f5 commit 4e92c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepParticipants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function IOURequestStepParticipants({
}, [iouType, translate, isSplitRequest, action]);

const selfDMReportID = useMemo(() => ReportUtils.findSelfDMReportID(), []);
const shouldDisplayTrackExpenseButton = !!selfDMReportID;
const shouldDisplayTrackExpenseButton = !!selfDMReportID && action === CONST.IOU.ACTION.CREATE;

const receiptFilename = transaction?.filename;
const receiptPath = transaction?.receipt?.source;
Expand Down

0 comments on commit 4e92c0e

Please sign in to comment.