Added option to show/hide cover attachment on minicard

This commit is contained in:
helioguardabaxo 2023-05-31 11:52:20 -03:00
parent 053f944691
commit 985882a4ad
6 changed files with 45 additions and 1 deletions

View file

@ -407,6 +407,14 @@ Boards.attachSchema(
defaultValue: false,
},
allowsCoverAttachmentOnMinicard: {
/**
* Does the board allows cover attachment on minicard?
*/
type: Boolean,
defaultValue: false,
},
allowsCardNumber: {
/**
* Does the board allows card numbers?
@ -1459,6 +1467,10 @@ Boards.mutations({
return { $set: { allowsDescriptionTextOnMinicard } };
},
setallowsCoverAttachmentOnMinicard(allowsCoverAttachmentOnMinicard) {
return { $set: { allowsCoverAttachmentOnMinicard } };
},
setAllowsActivities(allowsActivities) {
return { $set: { allowsActivities } };
},