Skip to content

Commit

Permalink
Merge pull request #24179 from Pujan92/fix/23722
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam authored Aug 7, 2023
2 parents aa5483d + 8cd29e6 commit fe8d0cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/home/report/ReportActionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,10 @@ function arePropsEqual(oldProps, newProps) {
return false;
}

if (lodashGet(newProps, 'report.writeCapability') !== lodashGet(oldProps, 'report.writeCapability')) {
return false;
}

return _.isEqual(lodashGet(newProps.report, 'icons', []), lodashGet(oldProps.report, 'icons', []));
}

Expand Down

0 comments on commit fe8d0cf

Please sign in to comment.