Move every Swimlanes.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)

This commit is contained in:
Martin Filser 2023-02-22 22:21:42 +01:00
parent 9125ab440d
commit 33a8de7bb5
6 changed files with 12 additions and 12 deletions

View file

@ -471,7 +471,7 @@ BlazeComponent.extendComponent({
sort: { sort: 1 },
});
if (swimlanes.length)
this.selectedSwimlaneId.set(swimlanes.fetch()[0]._id);
this.selectedSwimlaneId.set(swimlanes[0]._id);
return swimlanes;
},