mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 03:59:51 +08:00
Fix file preview in inventory
This commit is contained in:
parent
64306cfb2a
commit
68994a77c8
1 changed files with 1 additions and 1 deletions
|
@ -5,5 +5,5 @@
|
|||
id: true,
|
||||
status: 'asset-present',
|
||||
'preview-url': asset_file_preview_path(asset) } do %>
|
||||
<%= render partial: 'shared/asset_placeholder.html.erb', locals: { edit_page: false, asset: asset } %>
|
||||
<%= truncate(asset.file_name, length: Constants::FILENAME_TRUNCATION_LENGTH) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue