diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-11-19 21:55:43 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-11-19 21:55:43 +0200 |
commit | 115d23f9293cad8a93f18f75a47a8a65756f71ce (patch) | |
tree | 1f3bdb5a56ac08745eeba73bb3b0274098ad84d8 /client/components/swimlanes | |
parent | 975258ef39787010d0ecb5d0f6b03ec3e0338e58 (diff) | |
download | wekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.tar.gz wekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.tar.bz2 wekan-115d23f9293cad8a93f18f75a47a8a65756f71ce.zip |
Use database when logged in. Continued.
Thanks to xet7 !
Diffstat (limited to 'client/components/swimlanes')
-rw-r--r-- | client/components/swimlanes/swimlanes.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index cad673aa..8618373c 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -102,7 +102,8 @@ function initSortable(boardComponent, $listsDom) { let showDesktopDragHandles = false; currentUser = Meteor.user(); if (currentUser) { - showDesktopDragHandles = (currentUser.profile || {}).showDesktopDragHandles; + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; } else { import { Cookies } from 'meteor/ostrio:cookies'; const cookies = new Cookies(); @@ -203,7 +204,8 @@ BlazeComponent.extendComponent({ let showDesktopDragHandles = false; currentUser = Meteor.user(); if (currentUser) { - showDesktopDragHandles = (currentUser.profile || {}).showDesktopDragHandles; + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; } else { import { Cookies } from 'meteor/ostrio:cookies'; const cookies = new Cookies(); |