Pārlūkot izejas kodu

Change of the default value of labelIds

Omar Sy 6 gadi atpakaļ
vecāks
revīzija
3c9aa65ca3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -97,7 +97,7 @@ Cards.attachSchema(new SimpleSchema({
   labelIds: {
     type: [String],
     optional: true,
-    defaultValue: '',
+    defaultValue: [],
   },
   members: {
     type: [String],