From 690a5b970319ceabc0be965152187d7098022621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Fri, 19 Jan 2018 12:22:03 -0300 Subject: First swimlane draft, no functionality --- client/components/lists/listBody.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/components/lists/listBody.js') 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 -- cgit v1.2.3-1-g7c22