Skip to content

Commit

Permalink
Merge pull request #2246 from samvera/update-gems
Browse files Browse the repository at this point in the history
Update gems
  • Loading branch information
Shana Moore authored Jun 19, 2024
2 parents 715caac + 96bb681 commit 6893099
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ GIT

GIT
remote: https://github.com/samvera/bulkrax.git
revision: d8f9b85a9064b352a252c5deb590a430ca4a738e
revision: 078fa6e62e6d20573152d02330f9cb824458fbb9
branch: main
specs:
bulkrax (8.0.0)
bulkrax (8.1.0)
bagit (~> 0.4.6)
coderay
denormalize_fields
Expand Down Expand Up @@ -220,7 +220,7 @@ GIT

GIT
remote: https://github.com/scientist-softserv/iiif_print.git
revision: ffea40d927ee8f26b403ac4bfec732b871c2370a
revision: fdbd6557ad7893997b579ce54d76ab1c3034ea5c
branch: main
specs:
iiif_print (2.0.1)
Expand Down
2 changes: 1 addition & 1 deletion app/listeners/hyrax_listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def on_file_characterized(event)

def pdf_viewer_and_download_button(event)
file_set = event[:file_set]
return unless file_set.original_file.pdf?
return unless file_set.original_file&.pdf?

parent_work = Hyrax.custom_queries.find_parent_work(resource: file_set)
parent_work.show_pdf_viewer = '1'
Expand Down

0 comments on commit 6893099

Please sign in to comment.