mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Use database when logged in. Continued.
Thanks to xet7 !
This commit is contained in:
parent
975258ef39
commit
115d23f929
5 changed files with 19 additions and 17 deletions
|
@ -199,7 +199,8 @@ BlazeComponent.extendComponent({
|
|||
let showDesktopDragHandles = false;
|
||||
currentUser = Meteor.user();
|
||||
if (currentUser) {
|
||||
showDesktopDragHandles = (currentUser.profile || {}).showDesktopDragHandles;
|
||||
showDesktopDragHandles = (currentUser.profile || {})
|
||||
.showDesktopDragHandles;
|
||||
} else {
|
||||
if (cookies.has('showDesktopDragHandles')) {
|
||||
showDesktopDragHandles = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue