Skip to content

Commit 69ad05b

Browse files
committed
Fix - Duplicate Expense Cards Appear in Report When Adding a Single Expense from Empty State
1 parent 72caced commit 69ad05b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/Search/SearchMoneyRequestReportPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function SearchMoneyRequestReportPage({route}: SearchMoneyRequestPageProps) {
157157
}
158158

159159
const iouAction = getIOUActionForTransactionID(reportActions, transaction.transactionID);
160-
if (iouAction || transaction?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD) {
160+
if (iouAction || transaction?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD || !!transaction.linkedTrackedExpenseReportAction?.childReportID) {
161161
return;
162162
}
163163

0 commit comments

Comments
 (0)