diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index f672b08dce3a..9e995a297153 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -157,6 +157,10 @@ class ReportActionItem extends Component { /> ); } else { + const message = _.last(lodashGet(this.props.action, 'message', [{}])); + const isAttachment = _.has(this.props.action, 'isAttachment') + ? this.props.action.isAttachment + : ReportUtils.isReportMessageAttachment(message); children = ( {!this.props.draftMessage ? ( - + ) : (