Skip to content

Commit

Permalink
fix assignee is not updated immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhutornyi committed Feb 1, 2024
1 parent 42deba4 commit 6bcc0b4
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 6bcc0b4

Please sign in to comment.