From f5eecab8bf5e5390ba69ada47f1476fa9d6fcde3 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 26 Jul 2023 17:07:13 -0600 Subject: [PATCH] fix report total update --- src/pages/home/report/ReportActionsView.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/home/report/ReportActionsView.js b/src/pages/home/report/ReportActionsView.js index 22d2fcf08655..20f5a4e5f783 100755 --- a/src/pages/home/report/ReportActionsView.js +++ b/src/pages/home/report/ReportActionsView.js @@ -408,6 +408,10 @@ function arePropsEqual(oldProps, newProps) { return false; } + if (lodashGet(newProps, 'report.total') !== lodashGet(oldProps, 'report.total')) { + return false; + } + return _.isEqual(lodashGet(newProps.report, 'icons', []), lodashGet(oldProps.report, 'icons', [])); }