mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 06:38:49 +01:00
Move every Avatars.find(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
36db6c6e2d
commit
538e197147
3 changed files with 59 additions and 2 deletions
|
|
@ -172,7 +172,8 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
uploadedAvatars() {
|
||||
return Avatars.find({ userId: Meteor.userId() }).each();
|
||||
const ret = ReactiveCache.getAvatars({ userId: Meteor.userId() }, {}, true).each();
|
||||
return ret;
|
||||
},
|
||||
|
||||
isSelected() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue