mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +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
|
tag: label.tag
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
await descriptionBox.createAttachments(_id)
|
|
||||||
|
|
||||||
await operations.commit()
|
|
||||||
|
|
||||||
if (relatedTo !== undefined) {
|
if (relatedTo !== undefined) {
|
||||||
const doc = await client.findOne(tracker.class.Issue, { _id })
|
const doc = await client.findOne(tracker.class.Issue, { _id })
|
||||||
@ -427,6 +424,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await operations.commit()
|
||||||
|
|
||||||
|
await descriptionBox.createAttachments(_id)
|
||||||
|
|
||||||
addNotification(
|
addNotification(
|
||||||
await translate(tracker.string.IssueCreated, {}, $themeStore.language),
|
await translate(tracker.string.IssueCreated, {}, $themeStore.language),
|
||||||
getTitle(object.title),
|
getTitle(object.title),
|
||||||
|
Loading…
Reference in New Issue
Block a user