mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-29 08:25:41 +08:00
Fix large previews for csv files [SCI-6619] (#3961)
This commit is contained in:
parent
78a8b5d952
commit
ea5ee65618
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
module FileIconsHelper
|
||||
def wopi_file?(asset)
|
||||
file_ext = asset.file_name.split('.').last&.downcase
|
||||
%w(csv ods xls xlsb xlsm xlsx odp pot potm potx pps ppsm
|
||||
%w(ods xls xlsb xlsm xlsx odp pot potm potx pps ppsm
|
||||
ppsx ppt pptm pptx doc docm docx dot dotm dotx odt rtf).include?(file_ext)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue