From 78cf3492cb6043b68ed1d54b024534ffde4fcb50 Mon Sep 17 00:00:00 2001 From: dukenv0307 <129500732+dukenv0307@users.noreply.github.com> Date: Tue, 23 Jan 2024 09:45:04 +0700 Subject: [PATCH] Update src/components/AttachmentModal.js Co-authored-by: Aimane Chnaif <96077027+aimane-chnaif@users.noreply.github.com> --- src/components/AttachmentModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AttachmentModal.js b/src/components/AttachmentModal.js index d2c3ce42cbcc..e1f9e72ebff1 100755 --- a/src/components/AttachmentModal.js +++ b/src/components/AttachmentModal.js @@ -496,7 +496,7 @@ function AttachmentModal(props) { onLinkPress={() => Navigation.dismissModal()} /> )} - {!_.isEmpty(props.report) ? ( + {!_.isEmpty(props.report) && !props.isReceiptAttachment ? (