minor style fixes

Signed-off-by: Johannes Szeibert <johannes@szeibert.de>
This commit is contained in:
Johannes Szeibert
2022-11-03 13:10:17 +00:00
committed by backportbot-nextcloud[bot]
parent 20c8cb12e3
commit d8f44e2c94

View File

@@ -173,7 +173,7 @@ export default {
} }
}, },
attachmentPreview() { attachmentPreview() {
return (attachment) => (attachment.extendedData.fileid ? generateUrl(`/core/preview?fileId=${attachment.extendedData.fileid}&x=64&y=64&a=true`) : null) return (attachment) => (attachment.extendedData.fileid ? generateUrl(`/core/preview?fileId=${attachment.extendedData.fileid}&x=64&y=64`) : null)
}, },
attachmentUrl() { attachmentUrl() {
return (attachment) => generateUrl(`/apps/deck/cards/${attachment.cardId}/attachment/${attachment.id}`) return (attachment) => generateUrl(`/apps/deck/cards/${attachment.cardId}/attachment/${attachment.id}`)