From 1850aa8011e9d0df3424ce2248640fc2f3c44c92 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Wed, 13 Sep 2023 20:05:58 +0530 Subject: [PATCH] fix --- src/libs/isReportMessageAttachment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/isReportMessageAttachment.ts b/src/libs/isReportMessageAttachment.ts index c257e1db4191..9984259c4b6d 100644 --- a/src/libs/isReportMessageAttachment.ts +++ b/src/libs/isReportMessageAttachment.ts @@ -17,7 +17,7 @@ export default function isReportMessageAttachment({text, html, translationKey}: return false; } - if (translationKey && text === CONST.ATTACHMENT_MESSAGE_TEXT) { + if (translationKey && (text === CONST.ATTACHMENT_MESSAGE_TEXT || text === CONST.TRANSLATION_KEYS.ATTACHMENT)) { return translationKey === CONST.TRANSLATION_KEYS.ATTACHMENT; }