From 648da52bb92523206a340351c5994e302f4749eb Mon Sep 17 00:00:00 2001 From: Steven KKC Date: Tue, 8 Aug 2023 13:05:29 -0400 Subject: [PATCH] fix total requested money amount does not update in real-time --- src/pages/home/report/ReportActionItem.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index 05e57c592b9f..d1e327f1e118 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -621,6 +621,7 @@ export default compose( ReportUtils.isCompletedTaskReport(prevProps.report) === ReportUtils.isCompletedTaskReport(nextProps.report) && prevProps.report.managerID === nextProps.report.managerID && prevProps.report.managerEmail === nextProps.report.managerEmail && - prevProps.shouldHideThreadDividerLine === nextProps.shouldHideThreadDividerLine, + prevProps.shouldHideThreadDividerLine === nextProps.shouldHideThreadDividerLine && + lodashGet(prevProps.report, 'total', 0) === lodashGet(nextProps.report, 'total', 0), ), );