Browse Source

Fix lint errors.

Lauri Ojansivu 4 năm trước cách đây
mục cha
commit
c7f260d030
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
       });