diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-06-27 23:57:02 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-06-27 23:57:02 +0300 |
commit | 523ebea4dd668976cd0fafea3edf7e9323888d12 (patch) | |
tree | 09f9d46818873ba3bf4f800c5721711fe812133c /client/components/boards/boardHeader.js | |
parent | ed0ef5b7d348df3fd1671ac44bfc8be41a296514 (diff) | |
parent | bccfa320a96511fc9576cf127e9d28d244a22f3d (diff) | |
download | wekan-523ebea4dd668976cd0fafea3edf7e9323888d12.tar.gz wekan-523ebea4dd668976cd0fafea3edf7e9323888d12.tar.bz2 wekan-523ebea4dd668976cd0fafea3edf7e9323888d12.zip |
Merge branch 'TNick-calendar' into devel
Diffstat (limited to 'client/components/boards/boardHeader.js')
-rw-r--r-- | client/components/boards/boardHeader.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index b2640474..222cc404 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -89,9 +89,11 @@ BlazeComponent.extendComponent({ 'click .js-toggle-board-view'() { const currentUser = Meteor.user(); if (currentUser.profile.boardView === 'board-view-swimlanes') { - currentUser.setBoardView('board-view-lists'); + currentUser.setBoardView('board-view-cal'); } else if (currentUser.profile.boardView === 'board-view-lists') { currentUser.setBoardView('board-view-swimlanes'); + } else if (currentUser.profile.boardView === 'board-view-cal') { + currentUser.setBoardView('board-view-lists'); } }, 'click .js-open-filter-view'() { |