aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-04 08:10:43 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-06 14:49:32 +0200
commit014a57e54174ce9a8f2c55beafad2dd8d1c6a9d0 (patch)
tree79507dfdb6fd3b9cb8662f458a9353af0a8592c4 /apps/files_trashbin
parenta66cae02efcc27d962d867ba9a9e5da0441333e5 (diff)
downloadnextcloud-server-014a57e54174ce9a8f2c55beafad2dd8d1c6a9d0.tar.gz
nextcloud-server-014a57e54174ce9a8f2c55beafad2dd8d1c6a9d0.zip
fix: improved preview handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/src/services/trashbin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/services/trashbin.ts b/apps/files_trashbin/src/services/trashbin.ts
index 6592857b2a3..b20911b5b2d 100644
--- a/apps/files_trashbin/src/services/trashbin.ts
+++ b/apps/files_trashbin/src/services/trashbin.ts
@@ -53,7 +53,7 @@ const data = `<?xml version="1.0"?>
const resultToNode = function(node: FileStat): File | Folder {
const permissions = parseWebdavPermissions(node.props?.permissions)
const owner = getCurrentUser()?.uid as string
- const previewUrl = generateUrl('/apps/files_trashbin/preview?fileId={fileid}x=32&y=32', node.props)
+ const previewUrl = generateUrl('/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32', node.props)
const nodeData = {
id: node.props?.fileid as number || 0,