From 014a57e54174ce9a8f2c55beafad2dd8d1c6a9d0 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Tue, 4 Apr 2023 08:10:43 +0200 Subject: fix: improved preview handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/files_trashbin/src/services/trashbin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/src') 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 = ` 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, -- cgit v1.2.3