mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
same here
This commit is contained in:
parent
bbee17320a
commit
c63c4cb0c1
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ defmodule PhilomenaWeb.DuplicateReportView do
|
|||
def background_class(_duplicate_report), do: nil
|
||||
|
||||
def file_types(%{image: image, duplicate_of_image: duplicate_of_image}) do
|
||||
source_type = String.upcase(image.image_format)
|
||||
target_type = String.upcase(duplicate_of_image.image_format)
|
||||
source_type = String.upcase(to_string(image.image_format))
|
||||
target_type = String.upcase(to_string(duplicate_of_image.image_format))
|
||||
|
||||
"(#{source_type}, #{target_type})"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue