From db2ceae720162c585fb49dcec904aa8ced3cc83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 30 Dec 2020 14:38:13 +0100 Subject: [PATCH] Fix attachment direct link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/card/AttachmentList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index b79b06c09..eccb9c958 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -161,7 +161,7 @@ export default { return (attachment) => generateUrl(`/apps/deck/cards/${attachment.cardId}/attachment/${attachment.id}`) }, internalLink() { - return (attachment) => generateUrl('/index.php/f/' + attachment.extendedData.fileid) + return (attachment) => generateUrl('/f/' + attachment.extendedData.fileid) }, formattedFileSize() { return (filesize) => formatFileSize(filesize)