From 7de0e4057968ca438997105cfa9b680ce98a6b31 Mon Sep 17 00:00:00 2001 From: Rocio Perez-Cano Date: Tue, 9 Apr 2024 22:21:07 +0200 Subject: [PATCH] Revert "Align offline receipt view for one-transaction and multi-transaction views" --- src/pages/home/report/ReportActionItem.tsx | 29 +++++++++------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.tsx b/src/pages/home/report/ReportActionItem.tsx index 4377ff7e55b1..31019b60aefb 100644 --- a/src/pages/home/report/ReportActionItem.tsx +++ b/src/pages/home/report/ReportActionItem.tsx @@ -753,18 +753,15 @@ function ReportActionItem({ } if (ReportUtils.isExpenseReport(report) || ReportUtils.isIOUReport(report)) { return ( - // eslint-disable-next-line react/jsx-no-useless-fragment - <> + {transactionThreadReport && !isEmptyObject(transactionThreadReport) ? ( <> {transactionCurrency !== report.currency && ( - - - + )} ) : ( - - - + )} - + ); }