summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/boards.js')
-rw-r--r--models/boards.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js
index ef074ad6..8862f301 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -332,6 +332,22 @@ Boards.attachSchema(
defaultValue: true,
},
+ allowsDescriptionTitle: {
+ /**
+ * Does the board allows description title?
+ */
+ type: Boolean,
+ defaultValue: true,
+ },
+
+ allowsDescriptionText: {
+ /**
+ * Does the board allows description text?
+ */
+ type: Boolean,
+ defaultValue: true,
+ },
+
allowsActivities: {
/**
* Does the board allows comments?
@@ -1127,6 +1143,14 @@ Boards.mutations({
return { $set: { allowsComments } };
},
+ setAllowsDescriptionTitle(allowsDescriptionTitle) {
+ return { $set: { allowsDescriptionTitle } };
+ },
+
+ setAllowsDescriptionText(allowsDescriptionText) {
+ return { $set: { allowsDescriptionText } };
+ },
+
setAllowsActivities(allowsActivities) {
return { $set: { allowsActivities } };
},