diff --git a/src/components/Attachments/AttachmentView/index.js b/src/components/Attachments/AttachmentView/index.js index 68f41e1e51c3..e3c363c2f936 100755 --- a/src/components/Attachments/AttachmentView/index.js +++ b/src/components/Attachments/AttachmentView/index.js @@ -160,7 +160,7 @@ function AttachmentView({ const encryptedSourceUrl = isAuthTokenRequired ? addEncryptedAuthTokenToURL(source) : source; const onPDFLoadComplete = (path) => { - if (isUsedInCarousel && reportActionID && path) { + if (reportActionID && path) { CachedPDFPaths.add(reportActionID, path); } if (!loadComplete) {