mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 07:38:49 +01:00
Fix #1567
This commit is contained in:
parent
c12e003fd3
commit
e5995477b8
8 changed files with 44 additions and 38 deletions
|
|
@ -87,15 +87,13 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
isViewSwimlanes() {
|
||||
const currentBoardId = Session.get('currentBoard');
|
||||
const board = Boards.findOne(currentBoardId);
|
||||
return (board.view === 'board-view-swimlanes');
|
||||
const currentUser = Meteor.user();
|
||||
return (currentUser.profile.boardView === 'board-view-swimlanes');
|
||||
},
|
||||
|
||||
isViewLists() {
|
||||
const currentBoardId = Session.get('currentBoard');
|
||||
const board = Boards.findOne(currentBoardId);
|
||||
return (board.view === 'board-view-lists');
|
||||
const currentUser = Meteor.user();
|
||||
return (currentUser.profile.boardView === 'board-view-lists');
|
||||
},
|
||||
|
||||
openNewListForm() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue