custom fields upgrade

This commit is contained in:
Nunes Nelson 2018-11-05 21:46:57 +01:00
parent 6f2275e8cb
commit a82aa87850
6 changed files with 51 additions and 2 deletions

View file

@ -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,
});