Move every Org.findOne() to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-04 00:23:03 +01:00
parent 79ea4d6d1e
commit 2ab34d3b87
4 changed files with 32 additions and 9 deletions

View file

@ -1644,7 +1644,7 @@ BlazeComponent.extendComponent({
Template.removeBoardOrgPopup.helpers({
org() {
return Org.findOne(this.orgId);
return ReactiveCache.getOrg(this.orgId);
},
});