1
0

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
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}`
}