Skip to content

Commit

Permalink
update icon logic to use update resource type values [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenenglish committed Sep 10, 2021
1 parent 0ab3f55 commit c550212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/commonwealth_vlr_engine/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def render_format_index(options = {})

# return the path to the icon for objects with no thumbnail
def render_object_icon_path(format)
icon = case format
icon = case format.downcase
when 'still image'
'image'
when 'sound recording', 'sound recording-nonmusical', 'sound recording-musical'
when 'audio'
'audio'
when 'moving image'
'moving-image'
Expand Down

0 comments on commit c550212

Please sign in to comment.