Skip to content

Commit

Permalink
Merge pull request #29206 from tienifr/fix/25779
Browse files Browse the repository at this point in the history
fix: 25779 Accessing an attachment via link that is not found shows the error page twice
  • Loading branch information
Joel Bettner authored Oct 13, 2023
2 parents 3f06a9a + a59d9ef commit abfa6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportAttachments.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function ReportAttachments(props) {
defaultOpen
report={report}
source={source}
onModalHide={() => Navigation.dismissModal(reportID)}
onModalHide={() => Navigation.dismissModal()}
onCarouselAttachmentChange={(attachment) => {
const route = ROUTES.REPORT_ATTACHMENTS.getRoute(reportID, attachment.source);
Navigation.navigate(route);
Expand Down

0 comments on commit abfa6a5

Please sign in to comment.