Bläddra i källkod

Change of the default value of labelIds

Omar Sy 6 år sedan
förälder
incheckning
3c9aa65ca3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

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