diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-06-14 19:38:16 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-06-14 19:38:16 +0300 |
commit | 85e02010d444453a4a682770522a65fcdc488c8b (patch) | |
tree | 4bdc971df59353fb2dffd03b6454ca0a4ef6cb16 /client/components/boards | |
parent | fa82efe7d24a18afbd99ba805bdc3666cf3ba863 (diff) | |
parent | aeec9f6ef8d8de07c6c8b8001fe2bbeb012b9fa8 (diff) | |
download | wekan-85e02010d444453a4a682770522a65fcdc488c8b.tar.gz wekan-85e02010d444453a4a682770522a65fcdc488c8b.tar.bz2 wekan-85e02010d444453a4a682770522a65fcdc488c8b.zip |
Merge branch 'feuerball11-feature-custom-fields' into devel
Diffstat (limited to 'client/components/boards')
-rw-r--r-- | client/components/boards/boardBody.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 456bf9b3..dfe7b8d2 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -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'); }, |