diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-18 22:55:56 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-18 22:55:56 +0100 |
commit | 9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce (patch) | |
tree | ffb0f0a44695afd1869c464c48f2b028d65ad241 | |
parent | ff19d6744e3f4a944944185d41b944310f35fc36 (diff) | |
download | wekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.tar.gz wekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.tar.bz2 wekan-9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce.zip |
Fix #2266
-rw-r--r-- | client/components/lists/list.js | 2 |
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; |