From 61d3f42b9086426f2bc2fdf9309d18b46013cdd1 Mon Sep 17 00:00:00 2001 From: Roji Philip Date: Sat, 13 Jan 2024 17:21:11 +0530 Subject: [PATCH] Update src/pages/home/ReportScreen.js Co-authored-by: Fedi Rajhi --- src/pages/home/ReportScreen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js index 407139510da5..fc4b3aa37bf3 100644 --- a/src/pages/home/ReportScreen.js +++ b/src/pages/home/ReportScreen.js @@ -393,7 +393,7 @@ function ReportScreen({ Navigation.goBack(ROUTES.HOME, false, true); } if (prevReport.parentReportID) { - // If Money Request report is pending for deletion, let us not navigate to Money Request Report + // Prevent navigation to the Money Request Report if it is pending deletion. const parentReport = ReportUtils.getReport(prevReport.parentReportID); if (ReportUtils.isMoneyRequestReportPendingDeletion(parentReport)) { return;