summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-03-21 00:21:19 +0200
committerGitHub <noreply@github.com>2019-03-21 00:21:19 +0200
commitf8cbbfc2cd526ad04280447b4983ead97121179a (patch)
treeb5cf7bd51d55f1fa289726b12a656ea6378d2350
parentf083fc0d7b4998e87afa5ad2b3eeaa99690079e4 (diff)
parent9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce (diff)
downloadwekan-f8cbbfc2cd526ad04280447b4983ead97121179a.tar.gz
wekan-f8cbbfc2cd526ad04280447b4983ead97121179a.tar.bz2
wekan-f8cbbfc2cd526ad04280447b4983ead97121179a.zip
Merge pull request #2270 from andresmanelli/fix_2266
Fix #2266
-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 cceae7b4..12932a82 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;