summaryrefslogtreecommitdiffstats
path: root/models/customFields.js
diff options
context:
space:
mode:
authorNunes Nelson <nunes.nelson4@gmail.com>2018-11-05 21:46:57 +0100
committerNunes Nelson <nunes.nelson4@gmail.com>2018-11-05 21:46:57 +0100
commita82aa87850b9bfbab503b1f07dd6b7542a20c2f4 (patch)
tree5959625927966f28b16babd097d993a102a64f7e /models/customFields.js
parent6f2275e8cb286cdf9dab3fee7f19b134eab70ca6 (diff)
downloadwekan-a82aa87850b9bfbab503b1f07dd6b7542a20c2f4.tar.gz
wekan-a82aa87850b9bfbab503b1f07dd6b7542a20c2f4.tar.bz2
wekan-a82aa87850b9bfbab503b1f07dd6b7542a20c2f4.zip
custom fields upgrade
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,
});