summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-31 12:46:46 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-06 14:49:32 +0200
commitc7c9ee1ebdd07fdd5cf295835d5cf5e061fc40af (patch)
tree2f1b19981435e221717ff42e8215553a319c7bad /apps/files_trashbin/src
parent044e8242602907c8fa73989aa8149cf879de8881 (diff)
downloadnextcloud-server-c7c9ee1ebdd07fdd5cf295835d5cf5e061fc40af.tar.gz
nextcloud-server-c7c9ee1ebdd07fdd5cf295835d5cf5e061fc40af.zip
feat(files): move userconfig to dedicated store and fix crop previews
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_trashbin/src')
-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 2be4c39dbfc..6592857b2a3 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}', 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,