Move every Swimlanes.findOne() to the ReactiveCache

This commit is contained in:
Martin Filser 2023-01-15 00:07:17 +01:00
parent 2f2aa7b08a
commit bf48d4371c
6 changed files with 11 additions and 12 deletions

View file

@ -29,10 +29,10 @@ Activities.helpers({
return ReactiveCache.getList(this.listId);
},
swimlane() {
return Swimlanes.findOne(this.swimlaneId);
return ReactiveCache.getSwimlane(this.swimlaneId);
},
oldSwimlane() {
return Swimlanes.findOne(this.oldSwimlaneId);
return ReactiveCache.getSwimlane(this.oldSwimlaneId);
},
oldList() {
return ReactiveCache.getList(this.oldListId);