Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepmdk committed Sep 13, 2023
1 parent 00718d8 commit 1850aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/isReportMessageAttachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1850aa8

Please sign in to comment.