mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Move every Lists.findOne() to the ReactiveCache
This commit is contained in:
parent
06e26d8d89
commit
0926943670
9 changed files with 17 additions and 16 deletions
|
@ -26,7 +26,7 @@ Activities.helpers({
|
|||
return Users.findOne(this.memberId);
|
||||
},
|
||||
list() {
|
||||
return Lists.findOne(this.listId);
|
||||
return ReactiveCache.getList(this.listId);
|
||||
},
|
||||
swimlane() {
|
||||
return Swimlanes.findOne(this.swimlaneId);
|
||||
|
@ -35,7 +35,7 @@ Activities.helpers({
|
|||
return Swimlanes.findOne(this.oldSwimlaneId);
|
||||
},
|
||||
oldList() {
|
||||
return Lists.findOne(this.oldListId);
|
||||
return ReactiveCache.getList(this.oldListId);
|
||||
},
|
||||
card() {
|
||||
return ReactiveCache.getCard(this.cardId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue