Skip to content

Commit

Permalink
Merge pull request #30097 from Expensify/jasper-fix-blocker-30020
Browse files Browse the repository at this point in the history
(cherry picked from commit a0083a6)
  • Loading branch information
francoisl authored and OSBotify committed Oct 20, 2023
1 parent b784b80 commit eaf3211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function ReportScreen({
prevOnyxReportID === routeReportID &&
!onyxReportID &&
prevReport.statusNum === CONST.REPORT.STATUS.OPEN &&
(report.statusNum === CONST.REPORT.STATUS.CLOSED || !report.statusNum))
(report.statusNum === CONST.REPORT.STATUS.CLOSED || (!report.statusNum && !prevReport.parentReportID)))
) {
Navigation.dismissModal();
if (Navigation.getTopmostReportId() === prevOnyxReportID) {
Expand Down

0 comments on commit eaf3211

Please sign in to comment.