mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01: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
|
|
@ -1176,7 +1176,7 @@ Boards.helpers({
|
|||
},
|
||||
|
||||
getDefaultSubtasksList() {
|
||||
return Lists.findOne(this.getDefaultSubtasksListId());
|
||||
return ReactiveCache.getList(this.getDefaultSubtasksListId());
|
||||
},
|
||||
|
||||
getDefaultDateSettingsListId() {
|
||||
|
|
@ -1194,7 +1194,7 @@ Boards.helpers({
|
|||
},
|
||||
|
||||
getDefaultDateSettingsList() {
|
||||
return Lists.findOne(this.getDefaultDateSettingsListId());
|
||||
return ReactiveCache.getList(this.getDefaultDateSettingsListId());
|
||||
},
|
||||
|
||||
getDefaultSwimline() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue