summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2019-03-18 22:55:56 +0100
committerAndrés Manelli <andresmanelli@gmail.com>2019-03-18 22:55:56 +0100
commit9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce (patch)
treeffb0f0a44695afd1869c464c48f2b028d65ad241 /client/components
parentff19d6744e3f4a944944185d41b944310f35fc36 (diff)
downloadwekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.tar.gz
wekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.tar.bz2
wekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.zip
Fix #2266
Diffstat (limited to 'client/components')
-rw-r--r--client/components/lists/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index 868be2ce..fb1c0128 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -70,7 +70,7 @@ BlazeComponent.extendComponent({
const currentBoard = Boards.findOne(Session.get('currentBoard'));
let swimlaneId = '';
const boardView = Meteor.user().profile.boardView;
- if (boardView === 'board-view-swimlanes')
+ if (boardView === 'board-view-swimlanes' || currentBoard.isTemplatesBoard())
swimlaneId = Blaze.getData(ui.item.parents('.swimlane').get(0))._id;
else if ((boardView === 'board-view-lists') || (boardView === 'board-view-cal'))
swimlaneId = currentBoard.getDefaultSwimline()._id;