mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Attachment activities merging done
This commit is contained in:
parent
c3458855bd
commit
012ca39a8d
5 changed files with 9 additions and 22 deletions
|
|
@ -217,11 +217,7 @@ if (Meteor.isServer) {
|
|||
}
|
||||
if (activity.attachmentId) {
|
||||
const attachment = activity.attachment();
|
||||
if (attachment.original) {
|
||||
params.attachment = attachment.original.name;
|
||||
} else {
|
||||
params.attachment = attachment.versions.original.name;
|
||||
}
|
||||
params.attachment = attachment.name;
|
||||
params.attachmentId = attachment._id;
|
||||
}
|
||||
if (activity.checklistId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue