summaryrefslogtreecommitdiffstats
path: root/models/checklists.js
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-16 21:49:56 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-16 21:49:56 +0200
commitcc285afd5939dbc251ac0f5f64116d0dc17592bb (patch)
tree833f802a2f47f9b8eada6623e967342ad32ea7d7 /models/checklists.js
parentf7446ba9346d52431a9d37c8b4c856daf2c73621 (diff)
downloadwekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.tar.gz
wekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.tar.bz2
wekan-cc285afd5939dbc251ac0f5f64116d0dc17592bb.zip
Complete checklist activities
Diffstat (limited to 'models/checklists.js')
-rw-r--r--models/checklists.js9
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,
+ });
+
+
});
}