summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listBody.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/lists/listBody.js')
-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);
},