From 778552e80918e8a2ab59be148349aa969e9f587b Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Fri, 8 Nov 2024 10:27:05 +0100 Subject: [PATCH] Remove duplicate openLocallyMenu element [SCI-11249] --- app/views/shared/file_preview/_content.html.erb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/views/shared/file_preview/_content.html.erb b/app/views/shared/file_preview/_content.html.erb index 00d259dee..33d89125f 100644 --- a/app/views/shared/file_preview/_content.html.erb +++ b/app/views/shared/file_preview/_content.html.erb @@ -2,11 +2,7 @@ <%= asset.file.metadata[:name] || asset.file_name %>
<% if can_edit && !preview %> - <% if wopi_enabled? && wopi_file?(asset) %> -
- -
- <% elsif asset.file.metadata[:asset_type] == 'marvinjs' %> + <% if asset.file.metadata[:asset_type] == 'marvinjs' %>