summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listBody.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/lists/listBody.js')
-rw-r--r--client/components/lists/listBody.js2
1 files changed, 1 insertions, 1 deletions
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({