Skip to content

Commit

Permalink
Update src/libs/ReportActionsUtils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ionatan Wiznia <iwiznia@hotmail.com>
  • Loading branch information
nkdengineer and iwiznia authored Jul 25, 2024
1 parent 78f1385 commit 4c18661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ function isReportActionAttachment(reportAction: OnyxInputOrEntry<ReportAction>):
const message = getReportActionMessage(reportAction);

if (reportAction && ('isAttachmentOnly' in reportAction || 'isAttachmentWithText' in reportAction)) {
return reportAction?.isAttachmentOnly ?? reportAction?.isAttachmentWithText ?? false;
return reportAction.isAttachmentOnly ?? reportAction.isAttachmentWithText ?? false;
}

if (message) {
Expand Down

0 comments on commit 4c18661

Please sign in to comment.