Files
wekan/server/publications/userDesktopDragHandles.js
T

8 lines
217 B
JavaScript

Meteor.publish('userDesktopDragHandles', function() {
if (!this.userId) return this.ready();
return Meteor.users.find({ _id: this.userId }, {
fields: {
'profile.showDesktopDragHandles': 1
}
});
});