浏览代码

Merge pull request #1837 from omarsy/devel

Change of the default value of labelIds
Lauri Ojansivu 6 年之前
父节点
当前提交
4e1fedb236
共有 1 个文件被更改,包括 1 次插入1 次删除
  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],