mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Done attachments activities operating
This commit is contained in:
parent
7dc0bbd7b2
commit
4448488767
3 changed files with 74 additions and 188 deletions
|
|
@ -214,7 +214,11 @@ if (Meteor.isServer) {
|
|||
}
|
||||
if (activity.attachmentId) {
|
||||
const attachment = activity.attachment();
|
||||
params.attachment = attachment.original.name;
|
||||
if (attachment.original) {
|
||||
params.attachment = attachment.original.name;
|
||||
} else {
|
||||
params.attachment = attachment.versions.original.name;
|
||||
}
|
||||
params.attachmentId = attachment._id;
|
||||
}
|
||||
if (activity.checklistId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue