diff options
author | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-08-16 21:49:56 +0200 |
---|---|---|
committer | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-08-16 21:49:56 +0200 |
commit | cc285afd5939dbc251ac0f5f64116d0dc17592bb (patch) | |
tree | 833f802a2f47f9b8eada6623e967342ad32ea7d7 /models/checklists.js | |
parent | f7446ba9346d52431a9d37c8b4c856daf2c73621 (diff) | |
download | wekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.tar.gz wekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.tar.bz2 wekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.zip |
Complete checklist activities
Diffstat (limited to 'models/checklists.js')
-rw-r--r-- | models/checklists.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/models/checklists.js b/models/checklists.js index c58453ef..3f07c858 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -101,6 +101,15 @@ if (Meteor.isServer) { Activities.remove(activity._id); }); } + Activities.insert({ + userId, + activityType: 'removeChecklist', + cardId: doc.cardId, + boardId: Cards.findOne(doc.cardId).boardId, + checklistId: doc._id, + }); + + }); } |