mirror of
https://github.com/wekan/wekan.git
synced 2025-12-25 11:48:48 +01:00
hotfix public board
This commit is contained in:
parent
848d8ac95d
commit
8ec60879dc
1 changed files with 2 additions and 0 deletions
|
|
@ -88,11 +88,13 @@ BlazeComponent.extendComponent({
|
|||
|
||||
isViewSwimlanes() {
|
||||
const currentUser = Meteor.user();
|
||||
if (!currentUser) return false;
|
||||
return (currentUser.profile.boardView === 'board-view-swimlanes');
|
||||
},
|
||||
|
||||
isViewLists() {
|
||||
const currentUser = Meteor.user();
|
||||
if (!currentUser) return true;
|
||||
return (currentUser.profile.boardView === 'board-view-lists');
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue