Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Remove PDF.js related fields from form #793

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

kirkkwang
Copy link
Contributor

The show_pdf_viewer and show_pdf_download_button fields were showing up on the form so this commit will remove them.

Story

Refs #issuenumber

Expected Behavior Before Changes

image

Expected Behavior After Changes

image

self.terms += %i[show_pdf_viewer show_pdf_download_button]
self.hidden_terms = %i[show_pdf_viewer show_pdf_download_button]
Copy link
Contributor

@ShanaLMoore ShanaLMoore Sep 15, 2023

Choose a reason for hiding this comment

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

I like your solution and think it'd be a helpful one to contribute back to hyku even, but I'm going to see if i can figure out why we can't just exclude it in the form's terms.

The `show_pdf_viewer` and `show_pdf_download_button` fields were showing
up on the form so this commit will remove them.
@ShanaLMoore ShanaLMoore merged commit 8cf3a38 into main Sep 15, 2023
7 checks passed
@ShanaLMoore ShanaLMoore deleted the i773-form-fix branch September 15, 2023 21:13
jeremyf pushed a commit to samvera/hyku that referenced this pull request Dec 19, 2023
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.

2 participants