summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorNunes Nelson <nunes.nelson4@gmail.com>2018-11-07 18:23:28 +0100
committerNunes Nelson <nunes.nelson4@gmail.com>2018-11-07 18:23:28 +0100
commitf2dd725eff931c9b5c836d17fe0a72dca07a1ceb (patch)
treeef4c4914208755c4dfc79c9c07bd3d6706b2e58e /client/components/lists
parenta82aa87850b9bfbab503b1f07dd6b7542a20c2f4 (diff)
downloadwekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.tar.gz
wekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.tar.bz2
wekan-f2dd725eff931c9b5c836d17fe0a72dca07a1ceb.zip
custom fields upgrade -- correct
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/listBody.js6
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);
},