Skip to content

Commit eb215da

Browse files
committed
fix: header shows skeleton, message is empty
1 parent f3792b3 commit eb215da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/libs/actions/Report.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,6 +1740,9 @@ function deleteReportComment(reportID: string | undefined, reportAction: ReportA
17401740
// we should navigate to its report in order to not show not found page
17411741
if (Navigation.isActiveRoute(ROUTES.REPORT_WITH_ID.getRoute(reportID, reportActionID)) && !isDeletedParentAction) {
17421742
Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(reportID));
1743+
} else if (Navigation.isActiveRoute(ROUTES.REPORT_WITH_ID.getRoute(reportAction.childReportID)) && !isDeletedParentAction) {
1744+
Navigation.setShouldPopAllStateOnUP(true);
1745+
Navigation.goBack(undefined, {shouldPopToTop: true});
17431746
}
17441747
}
17451748

0 commit comments

Comments
 (0)