Skip to content

Commit

Permalink
Update src/components/AttachmentModal.js
Browse files Browse the repository at this point in the history
Co-authored-by: Aimane Chnaif <[email protected]>
  • Loading branch information
dukenv0307 and aimane-chnaif authored Jan 23, 2024
1 parent 5703ba3 commit 78cf349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function AttachmentModal(props) {
onLinkPress={() => Navigation.dismissModal()}
/>
)}
{!_.isEmpty(props.report) ? (
{!_.isEmpty(props.report) && !props.isReceiptAttachment ? (
<AttachmentCarousel
report={props.report}
onNavigate={onNavigate}
Expand Down

0 comments on commit 78cf349

Please sign in to comment.