Browse Source

Fix lint errors.

Lauri Ojansivu 4 years ago
parent
commit
c7f260d030
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -650,7 +650,7 @@ Cards.helpers({
 
 
     // match right definition to each field
     // match right definition to each field
     if (!this.customFields) return [];
     if (!this.customFields) return [];
-    let ret = this.customFields.map(customField => {
+    const ret = this.customFields.map(customField => {
       const definition = definitions.find(definition => {
       const definition = definitions.find(definition => {
         return definition._id === customField._id;
         return definition._id === customField._id;
       });
       });