summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-04-16 00:25:54 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-04-16 00:25:54 -0300
commitde137052890f349faca0bfabb2dd2d5dcb6b6569 (patch)
tree1302aa0260d84f451614fb080f5e27d422b8965b
parent09bc8ac44c767291a1a3f4c31346ec1d1276625a (diff)
downloadwekan-de137052890f349faca0bfabb2dd2d5dcb6b6569.tar.gz
wekan-de137052890f349faca0bfabb2dd2d5dcb6b6569.tar.bz2
wekan-de137052890f349faca0bfabb2dd2d5dcb6b6569.zip
Fix lint errors
-rw-r--r--client/components/cards/cardDetails.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 1b98f2af..cdd027e6 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -347,7 +347,7 @@ Template.copyCardPopup.events({
checklist.cardId = _id;
checklist._id = null;
const newChecklistId = Checklists.insert(checklist);
- ChecklistItems.find({checklistId: checklistId}).forEach(function(item) {
+ ChecklistItems.find({checklistId}).forEach(function(item) {
item._id = null;
item.checklistId = newChecklistId;
item.cardId = _id;
@@ -370,7 +370,7 @@ Template.copyCardPopup.events({
});
Template.copyChecklistToManyCardsPopup.events({
- 'click .js-done' (evt) {
+ 'click .js-done' () {
const card = Cards.findOne(Session.get('currentCard'));
const oldId = card._id;
card._id = null;
@@ -408,7 +408,7 @@ Template.copyChecklistToManyCardsPopup.events({
checklist.cardId = _id;
checklist._id = null;
const newChecklistId = Checklists.insert(checklist);
- ChecklistItems.find({checklistId: checklistId}).forEach(function(item) {
+ ChecklistItems.find({checklistId}).forEach(function(item) {
item._id = null;
item.checklistId = newChecklistId;
item.cardId = _id;