Add a button to copy an attachment url from the attachment overview
This commit is contained in:
parent
ac6082a670
commit
b6bc410346
4 changed files with 24 additions and 5 deletions
3
src/helpers/generateAttachmentUrl.js
Normal file
3
src/helpers/generateAttachmentUrl.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const generateAttachmentUrl = (taskId, attachmentId) => {
|
||||
return `${window.API_URL}/tasks/${taskId}/attachments/${attachmentId}`
|
||||
}
|
||||
Reference in a new issue