mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
commit
f8cbbfc2cd
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ BlazeComponent.extendComponent({
|
||||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||||
let swimlaneId = '';
|
let swimlaneId = '';
|
||||||
const boardView = Meteor.user().profile.boardView;
|
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;
|
swimlaneId = Blaze.getData(ui.item.parents('.swimlane').get(0))._id;
|
||||||
else if ((boardView === 'board-view-lists') || (boardView === 'board-view-cal'))
|
else if ((boardView === 'board-view-lists') || (boardView === 'board-view-cal'))
|
||||||
swimlaneId = currentBoard.getDefaultSwimline()._id;
|
swimlaneId = currentBoard.getDefaultSwimline()._id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue