mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Using the new preview route to show the attachment in webui
This commit is contained in:
@ -1202,7 +1202,9 @@ renderAttachmentView model pos attach =
|
||||
, ( "invisible hidden", isAttachMetaOpen model attach.id )
|
||||
]
|
||||
]
|
||||
[ embed [ src fileUrl, type_ attach.contentType ]
|
||||
[ iframe
|
||||
[ src (fileUrl ++ "/view")
|
||||
]
|
||||
[]
|
||||
]
|
||||
, div
|
||||
|
Reference in New Issue
Block a user