Lauri Ojansivu 4 лет назад
Родитель
Сommit
c7f260d030
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

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