mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
UBERF-5108 Fix attachments creation in issues (#4460)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
b461e3bb09
commit
a26adb5252
@ -412,9 +412,6 @@
|
||||
tag: label.tag
|
||||
})
|
||||
}
|
||||
await descriptionBox.createAttachments(_id)
|
||||
|
||||
await operations.commit()
|
||||
|
||||
if (relatedTo !== undefined) {
|
||||
const doc = await client.findOne(tracker.class.Issue, { _id })
|
||||
@ -427,6 +424,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await operations.commit()
|
||||
|
||||
await descriptionBox.createAttachments(_id)
|
||||
|
||||
addNotification(
|
||||
await translate(tracker.string.IssueCreated, {}, $themeStore.language),
|
||||
getTitle(object.title),
|
||||
|
Loading…
Reference in New Issue
Block a user