mirror of
https://github.com/wekan/wekan.git
synced 2026-03-06 05:40:16 +01:00
Added option to show/hide cover attachment on minicard
This commit is contained in:
parent
053f944691
commit
985882a4ad
6 changed files with 45 additions and 1 deletions
|
|
@ -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 } };
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue