diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-03-21 00:21:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 00:21:19 +0200 |
commit | f8cbbfc2cd526ad04280447b4983ead97121179a (patch) | |
tree | b5cf7bd51d55f1fa289726b12a656ea6378d2350 /client/components | |
parent | f083fc0d7b4998e87afa5ad2b3eeaa99690079e4 (diff) | |
parent | 9651d62b967358f3eac6ae1c92ce5e03a0ddb7ce (diff) | |
download | wekan-f8cbbfc2cd526ad04280447b4983ead97121179a.tar.gz wekan-f8cbbfc2cd526ad04280447b4983ead97121179a.tar.bz2 wekan-f8cbbfc2cd526ad04280447b4983ead97121179a.zip |
Merge pull request #2270 from andresmanelli/fix_2266
Fix #2266
Diffstat (limited to 'client/components')
-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 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; |