summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:22:00 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-21 14:22:00 +0200
commit37a53e7466107d229a67a4c2efc4b25708bbe93d (patch)
treed017d73aa17b3665435c313c7a08c733ade6a7cc /models
parent254c7fe95183bb6ba787cfca6bfd5255a8fea42e (diff)
downloadwekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.tar.gz
wekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.tar.bz2
wekan-37a53e7466107d229a67a4c2efc4b25708bbe93d.zip
Fixed some rules
Diffstat (limited to 'models')
-rw-r--r--models/checklistItems.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/checklistItems.js b/models/checklistItems.js
index 8380bda7..7132bc7c 100644
--- a/models/checklistItems.js
+++ b/models/checklistItems.js
@@ -130,7 +130,7 @@ function publishChekListCompleted(userId, doc, fieldNames, modifier){
cardId: doc.cardId,
boardId,
checklistId: doc.checklistId,
- checklistName:doc.title,
+ checklistName:checkList.title,
};
Activities.insert(act);
}
@@ -148,7 +148,7 @@ function publishChekListUncompleted(userId, doc, fieldNames, modifier){
cardId: doc.cardId,
boardId,
checklistId: doc.checklistId,
- checklistName:doc.title,
+ checklistName:checkList.title,
};
Activities.insert(act);
}