From 04745f0c2fe83f044032713e1864c5ac00d38ac9 Mon Sep 17 00:00:00 2001 From: Nicu Tofan Date: Mon, 25 Jun 2018 22:01:02 +0300 Subject: implement getDefaultSwimline for boards --- client/components/lists/listBody.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/lists/listBody.js') diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 4bf7b369..34aeb8a8 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -46,7 +46,7 @@ BlazeComponent.extendComponent({ if (boardView === 'board-view-swimlanes') swimlaneId = this.parentComponent().parentComponent().data()._id; else if (boardView === 'board-view-lists') - swimlaneId = Swimlanes.findOne({boardId})._id; + swimlaneId = this.data().board().getDefaultSwimline()._id; if (title) { const _id = Cards.insert({ -- cgit v1.2.3-1-g7c22