mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Fix file icons in export all [SCI-5685]
This commit is contained in:
parent
b93978cbd0
commit
6a1c073024
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module FileIconsHelper
|
|||
if image_link
|
||||
if report
|
||||
image_tag("data:image/svg+xml;base64,#{
|
||||
Base64.encode64(File.read('app/assets/images/' + image_link))
|
||||
Base64.encode64(File.read(Rails.root.join('app/assets/images/', image_link)))
|
||||
}", class: 'image-icon')
|
||||
else
|
||||
ActionController::Base.helpers.image_tag(image_link, class: 'image-icon')
|
||||
|
|
Loading…
Reference in a new issue