summaryrefslogtreecommitdiffstats
path: root/models/checklists.js
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-17 14:16:56 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-08-17 14:16:56 +0200
commit3b62b5ec5dd34eec323c14d466fe07e34287e7b0 (patch)
tree48f48f035460d12df8ad37234018c69ffa35b47b /models/checklists.js
parent2f24dcfc7d2f1b426e83459ed5328529a440955d (diff)
downloadwekan-3b62b5ec5dd34eec323c14d466fe07e34287e7b0.tar.gz
wekan-3b62b5ec5dd34eec323c14d466fe07e34287e7b0.tar.bz2
wekan-3b62b5ec5dd34eec323c14d466fe07e34287e7b0.zip
Fixed triggers to use names and not id
Diffstat (limited to 'models/checklists.js')
-rw-r--r--models/checklists.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/checklists.js b/models/checklists.js
index 3f07c858..4a43818c 100644
--- a/models/checklists.js
+++ b/models/checklists.js
@@ -91,6 +91,7 @@ if (Meteor.isServer) {
cardId: doc.cardId,
boardId: Cards.findOne(doc.cardId).boardId,
checklistId: doc._id,
+ checklistName:doc.title
});
});
@@ -107,6 +108,7 @@ if (Meteor.isServer) {
cardId: doc.cardId,
boardId: Cards.findOne(doc.cardId).boardId,
checklistId: doc._id,
+ checklistName:doc.title
});