Skip to content

Commit 74eda53

Browse files
committed
update selfDMReportID
1 parent 1d29716 commit 74eda53

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/libs/actions/Transaction.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,7 @@ function changeTransactionsReport(transactionIDs: string[], reportID: string) {
702702
transactions.forEach((transaction) => {
703703
const isUnreported = !transaction.reportID || transaction.reportID === CONST.REPORT.UNREPORTED_REPORT_ID;
704704

705-
// We'll handle optimistically creating the selfDM as part of https://github.com/Expensify/App/issues/60288
706-
const selfDMReportID = findSelfDMReportID() ?? CONST.REPORT.UNREPORTED_REPORT_ID;
705+
const selfDMReportID = existingSelfDMReportID ?? selfDMReport.reportID;
707706

708707
const oldIOUAction = getIOUActionForReportID(isUnreported ? selfDMReportID : transaction.reportID, transaction.transactionID);
709708
if (!transaction.reportID || transaction.reportID === reportID) {

0 commit comments

Comments
 (0)