summaryrefslogtreecommitdiffstats
path: root/models/customFields.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-09 21:58:31 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-09 21:58:31 +0200
commit3300c69a039b3a4aa54c21340104a231cf2e80b1 (patch)
tree33fd50fabf939d613c8b0cc513fe75b1f3833216 /models/customFields.js
parent09a95dfef6345782b0b36c97e624eab2126a84d4 (diff)
parente3b3e8b8c60c6c46304b80498075c08c6fce820e (diff)
downloadwekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.tar.gz
wekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.tar.bz2
wekan-3300c69a039b3a4aa54c21340104a231cf2e80b1.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'models/customFields.js')
-rw-r--r--models/customFields.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/models/customFields.js b/models/customFields.js
index 203e46d0..5bb5e743 100644
--- a/models/customFields.js
+++ b/models/customFields.js
@@ -31,6 +31,12 @@ CustomFields.attachSchema(new SimpleSchema({
showOnCard: {
type: Boolean,
},
+ automaticallyOnCard: {
+ type: Boolean,
+ },
+ showLabelOnMiniCard: {
+ type: Boolean,
+ },
}));
CustomFields.allow({
@@ -115,6 +121,8 @@ if (Meteor.isServer) {
type: req.body.type,
settings: req.body.settings,
showOnCard: req.body.showOnCard,
+ automaticallyOnCard: req.body.automaticallyOnCard,
+ showLabelOnMiniCard: req.body.showLabelOnMiniCard,
boardId: paramBoardId,
});