Skip to content

Conversation

@Smullz622
Copy link

No description provided.

Comment on lines +58 to +63
if document.remediated_final_submissions.any?
links = remediated_final_submissions_links(document)
links << final_submission_links(document) if this_user.email == document[:author_email_ssi]
else
links = final_submission_links(document)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible for someone to have multiple PDFs for a single submission, right? If so, how do we plan to handle remediation for the other PDFs if the unremediated file links are hidden when there are .any? remediated files? We might want to adjust the code on the workflow side to trigger remediation for all final submission files associated with the submission that received the remediation trigger.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh my mistake, I thought that was what was happening on the workflow side. I'll make that change over there

@Smullz622 Smullz622 requested a review from ajkiessl February 3, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants