mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
Remove attachment activity
This commit is contained in:
parent
9c6d374b95
commit
f7446ba934
4 changed files with 22 additions and 1 deletions
|
|
@ -86,5 +86,12 @@ if (Meteor.isServer) {
|
|||
Activities.remove({
|
||||
attachmentId: doc._id,
|
||||
});
|
||||
Activities.insert({
|
||||
userId,
|
||||
type: 'card',
|
||||
activityType: 'deleteAttachment',
|
||||
boardId: doc.boardId,
|
||||
cardId: doc.cardId,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue