summaryrefslogtreecommitdiffstats
path: root/models/checklistItems.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/checklistItems.js')
-rw-r--r--models/checklistItems.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/models/checklistItems.js b/models/checklistItems.js
index c46fe9bd..013fee04 100644
--- a/models/checklistItems.js
+++ b/models/checklistItems.js
@@ -95,6 +95,8 @@ function itemCreation(userId, doc) {
checklistId: doc.checklistId,
checklistItemId: doc._id,
checklistItemName:doc.title,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
});
}
@@ -121,6 +123,8 @@ function publishCheckActivity(userId, doc){
checklistId: doc.checklistId,
checklistItemId: doc._id,
checklistItemName:doc.title,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
};
Activities.insert(act);
}
@@ -138,6 +142,8 @@ function publishChekListCompleted(userId, doc){
boardId,
checklistId: doc.checklistId,
checklistName: checkList.title,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
};
Activities.insert(act);
}
@@ -169,6 +175,8 @@ function publishChekListUncompleted(userId, doc){
boardId,
checklistId: doc.checklistId,
checklistName: checkList.title,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
};
Activities.insert(act);
}
@@ -207,6 +215,8 @@ if (Meteor.isServer) {
checklistId: doc.checklistId,
checklistItemId: doc._id,
checklistItemName:doc.title,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
});
});
}