]> source.dussan.org Git - nextcloud-server.git/commit
fix: use old singe file share rendering as fallback 33347/head
authorMax <max@nextcloud.com>
Thu, 11 Aug 2022 09:30:16 +0000 (11:30 +0200)
committerVincent Petry (Rebase PR Action) <PVince81@users.noreply.github.com>
Thu, 25 Aug 2022 21:59:20 +0000 (21:59 +0000)
commitb67aaf7ab0fb2e2b7c727290e6b1321557126380
treedc0563930e8d8a8a6e0cb12401a208a86af6c26e
parent8c9470320aa153980cd2c95687a721eb9655c60a
fix: use old singe file share rendering as fallback

Only render images and videos with the viewer.
Text has its own way of handling single file shares for now.

In case viewer does not support the file format
fall back to the old way of handling single file shares.

Signed-off-by: Max <max@nextcloud.com>
apps/files_sharing/js/public.js