Add Feature: Card Settings/Show on card/Activities.

Fix: When in Card Settings hiding Comments, only adding new comment is hidden, not old comments.

Thanks to xet7 !

Closes #2925
This commit is contained in:
Lauri Ojansivu 2020-02-07 13:58:43 +02:00
parent a58e6be78d
commit 2fce02afbc
6 changed files with 284 additions and 231 deletions

View file

@ -332,6 +332,14 @@ Boards.attachSchema(
defaultValue: true,
},
allowsActivities: {
/**
* Does the board allows comments?
*/
type: Boolean,
defaultValue: true,
},
allowsLabels: {
/**
* Does the board allows labels?
@ -1119,6 +1127,10 @@ Boards.mutations({
return { $set: { allowsComments } };
},
setAllowsActivities(allowsActivities) {
return { $set: { allowsActivities } };
},
setAllowsReceivedDate(allowsReceivedDate) {
return { $set: { allowsReceivedDate } };
},