mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Move every Users.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
2c92524cf4
commit
ad9daba60d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import Team from '/models/team';
|
|||
|
||||
Template.userAvatar.helpers({
|
||||
userData() {
|
||||
return Users.findOne(this.userId, {
|
||||
return ReactiveCache.getUser(this.userId, {
|
||||
fields: {
|
||||
profile: 1,
|
||||
username: 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue