Skip to content

Commit

Permalink
"this" cannot be used now that the ReportActionList is not a componen…
Browse files Browse the repository at this point in the history
…t anymore

Signed-off-by: Pierre Michel <pmiche04@gmail.com>
  • Loading branch information
ShogunFire committed Apr 20, 2023
1 parent 819719f commit a0be72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ReportActionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ const ReportActionsList = (props) => {
// Native mobile does not render updates flatlist the changes even though component did update called.
// To notify there something changes we can use extraData prop to flatlist
const extraData = [
(!this.props.isDrawerOpen && this.props.isSmallScreenWidth) ? this.props.newMarkerReportActionID : undefined ,
ReportUtils.isArchivedRoom(this.props.report)
(!props.isDrawerOpen && props.isSmallScreenWidth) ? props.newMarkerReportActionID : undefined ,
ReportUtils.isArchivedRoom(props.report)
];
const shouldShowReportRecipientLocalTime = ReportUtils.canShowReportRecipientLocalTime(props.personalDetails, props.report);
return (
Expand Down

0 comments on commit a0be72d

Please sign in to comment.