Move every Boards.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/)

This commit is contained in:
Martin Filser 2023-02-09 23:16:44 +01:00
parent 76aae41637
commit 10a9306abd
11 changed files with 29 additions and 22 deletions

View file

@ -233,7 +233,7 @@ BlazeComponent.extendComponent({
},
boards() {
return Boards.find(
const ret = ReactiveCache.getBoards(
{
archived: false,
'members.userId': Meteor.userId(),
@ -243,6 +243,7 @@ BlazeComponent.extendComponent({
sort: { sort: 1 /* boards default sorting */ },
},
);
return ret;
},
swimlanes() {