mirror of
https://github.com/wekan/wekan.git
synced 2026-02-22 07:54:06 +01:00
Move every CustomFields.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
47c70f03a2
commit
981a641bce
6 changed files with 11 additions and 10 deletions
|
|
@ -3332,7 +3332,7 @@ if (Meteor.isServer) {
|
|||
|
||||
let customFieldsArr = [];
|
||||
_.forEach(
|
||||
CustomFields.find({'boardIds': paramBoardId}).fetch(),
|
||||
ReactiveCache.getCustomFields({'boardIds': paramBoardId}),
|
||||
function (field) {
|
||||
if (field.automaticallyOnCard || field.alwaysOnCard)
|
||||
customFieldsArr.push({ _id: field._id, value: null });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue