Browse Source

Fix default value of `sort`

The default has to be a numeric value.
Marc Hartmayer 5 năm trước cách đây
mục cha
commit
3d33ea911a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -278,7 +278,7 @@ Cards.attachSchema(
        */
       type: Number,
       decimal: true,
-      defaultValue: '',
+      defaultValue: 0,
     },
     subtaskSort: {
       /**