Skip to content

Commit 9748320

Browse files
Merge pull request Expensify#74896 from NJ-2020/fix/73609
fix: report field opens not here page for submitted reports when creating expense from FAB
2 parents 7f5f5bd + a581cf0 commit 9748320

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/MoneyRequestConfirmationListFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ function MoneyRequestConfirmationListFooter({
287287

288288
return outstandingReports.filter((report) => {
289289
const reportNameValuePair = reportNameValuePairs?.[`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${report?.reportID}`];
290-
return !isArchivedReport(reportNameValuePair);
290+
return !isArchivedReport(reportNameValuePair) && isReportOutstanding(report, report?.policyID, reportNameValuePairs, false);
291291
});
292292
}, [outstandingReportsByPolicyID, reportNameValuePairs]);
293293

0 commit comments

Comments
 (0)