mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
custom fields upgrade
This commit is contained in:
parent
6f2275e8cb
commit
a82aa87850
6 changed files with 51 additions and 2 deletions
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue