From 2a5c4daa9d15430638867084ed10530ce3eec0e5 Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 20 Apr 2018 09:29:08 +0200 Subject: [PATCH] fix file preview [SCI-2313] --- app/views/shared/_asset_link.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_asset_link.html.erb b/app/views/shared/_asset_link.html.erb index 05e795dc4..6600258e7 100644 --- a/app/views/shared/_asset_link.html.erb +++ b/app/views/shared/_asset_link.html.erb @@ -1,5 +1,5 @@ <% if asset.file_present %> - <% if asset.file.processing? %> + <% if asset.file.processing? && display_image_tag %> <%= image_tag 'medium/processing.gif' %>