mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01: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
|
|
@ -122,7 +122,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