diff --git a/src/components/Attachments/AttachmentCarousel/index.tsx b/src/components/Attachments/AttachmentCarousel/index.tsx index a4f3616a794b..23b285faf10e 100644 --- a/src/components/Attachments/AttachmentCarousel/index.tsx +++ b/src/components/Attachments/AttachmentCarousel/index.tsx @@ -60,6 +60,10 @@ function AttachmentCarousel({report, reportActions, parentReportActions, source, const attachmentsFromReport = extractAttachmentsFromReport(parentReportAction, reportActions ?? undefined); if (isEqual(attachments, attachmentsFromReport)) { + if (attachments.length === 0) { + setPage(-1); + setDownloadButtonVisibility?.(false); + } return; }