Add a button to copy an attachment url from the attachment overview

This commit is contained in:
kolaente 2021-07-07 22:13:21 +02:00
parent ac6082a670
commit b6bc410346
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 24 additions and 5 deletions

View file

@ -0,0 +1,3 @@
export const generateAttachmentUrl = (taskId, attachmentId) => {
return `${window.API_URL}/tasks/${taskId}/attachments/${attachmentId}`
}