Skip to content

Commit

Permalink
Merge pull request #35598 from mkhutornyi/fix-35574
Browse files Browse the repository at this point in the history
[CP Staging] fix assignee is not updated immediately

(cherry picked from commit beb54b5)
  • Loading branch information
mountiny authored and OSBotify committed Feb 1, 2024
1 parent e1dca11 commit 3600db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ export default compose(
prevProps.userLeavingStatus === nextProps.userLeavingStatus &&
prevProps.report.reportID === nextProps.report.reportID &&
prevProps.report.policyID === nextProps.report.policyID &&
prevProps.report.managerID === nextProps.report.managerID &&
prevProps.report.isOptimisticReport === nextProps.report.isOptimisticReport &&
prevProps.report.statusNum === nextProps.report.statusNum &&
_.isEqual(prevProps.report.pendingFields, nextProps.report.pendingFields) &&
Expand Down
1 change: 1 addition & 0 deletions src/pages/home/report/ReportActionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ function arePropsEqual(oldProps, newProps) {
oldProps.report.lastReadTime === newProps.report.lastReadTime &&
oldProps.report.reportID === newProps.report.reportID &&
oldProps.report.policyID === newProps.report.policyID &&
oldProps.report.managerID === newProps.report.managerID &&
oldProps.report.lastVisibleActionCreated === newProps.report.lastVisibleActionCreated &&
oldProps.report.isOptimisticReport === newProps.report.isOptimisticReport &&
_.isEqual(oldProps.report.pendingFields, newProps.report.pendingFields)
Expand Down

0 comments on commit 3600db5

Please sign in to comment.