summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listBody.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-01-19 12:22:03 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-01-19 12:22:03 -0300
commit690a5b970319ceabc0be965152187d7098022621 (patch)
tree1e86d3ef8a3523b981debc27e4fbe25ebcad8713 /client/components/lists/listBody.js
parent8b6a2eade3f1e8e05ee73568c8b69393d2b42827 (diff)
downloadwekan-690a5b970319ceabc0be965152187d7098022621.tar.gz
wekan-690a5b970319ceabc0be965152187d7098022621.tar.bz2
wekan-690a5b970319ceabc0be965152187d7098022621.zip
First swimlane draft, no functionality
Diffstat (limited to 'client/components/lists/listBody.js')
-rw-r--r--client/components/lists/listBody.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index fe2f1630..7a63eab6 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -36,6 +36,7 @@ BlazeComponent.extendComponent({
const members = formComponent.members.get();
const labelIds = formComponent.labels.get();
+ const swimlaneId = this.parentComponent().parentComponent().data()._id;
if (title) {
const _id = Cards.insert({
title,
@@ -44,6 +45,7 @@ BlazeComponent.extendComponent({
listId: this.data()._id,
boardId: this.data().board()._id,
sort: sortIndex,
+ swimlaneId: swimlaneId,
});
// In case the filter is active we need to add the newly inserted card in
// the list of exceptions -- cards that are not filtered. Otherwise the