diff options
author | Nunes Nelson <nunes.nelson4@gmail.com> | 2018-11-07 18:23:28 +0100 |
---|---|---|
committer | Nunes Nelson <nunes.nelson4@gmail.com> | 2018-11-07 18:23:28 +0100 |
commit | f2dd725eff931c9b5c836d17fe0a72dca07a1ceb (patch) | |
tree | ef4c4914208755c4dfc79c9c07bd3d6706b2e58e /client | |
parent | a82aa87850b9bfbab503b1f07dd6b7542a20c2f4 (diff) | |
download | wekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.tar.gz wekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.tar.bz2 wekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.zip |
custom fields upgrade -- correct
Diffstat (limited to 'client')
-rw-r--r-- | client/components/lists/listBody.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 66b50123..1001f3bc 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -156,11 +156,11 @@ BlazeComponent.extendComponent({ this.customFields = new ReactiveVar([]); const currentBoardId = Session.get('currentBoard'); - arr = [] + arr = []; _.forEach(Boards.findOne(currentBoardId).customFields().fetch(), function(field){ if(field.automaticallyOnCard) - arr.push({_id: field._id, value: null,}) - }) + arr.push({_id: field._id, value: null}); + }); this.customFields.set(arr); }, |