mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
Move every Users.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
81c9bb6899
commit
030359aa0e
7 changed files with 38 additions and 41 deletions
|
|
@ -883,7 +883,7 @@ Boards.helpers({
|
|||
},
|
||||
|
||||
memberUsers() {
|
||||
return Users.find({ _id: { $in: _.pluck(this.members, 'userId') } });
|
||||
return ReactiveCache.getUsers({ _id: { $in: _.pluck(this.members, 'userId') } });
|
||||
},
|
||||
|
||||
getLabel(name, color) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue