mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 12:05:36 +00:00
Not open docx preview (#3462)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
c7ade707c6
commit
db53abf7c0
@ -39,11 +39,7 @@
|
||||
return contentType.startsWith('image/')
|
||||
}
|
||||
function openEmbedded (contentType: string) {
|
||||
return (
|
||||
contentType.includes('application/pdf') ||
|
||||
contentType.startsWith('image/') ||
|
||||
contentType.startsWith('application/msword')
|
||||
)
|
||||
return contentType.includes('application/pdf') || contentType.startsWith('image/')
|
||||
}
|
||||
|
||||
function clickHandler (e: MouseEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user