summaryrefslogtreecommitdiffstats
path: root/models/checklists.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-07-06 13:29:05 +0300
committerLauri Ojansivu <x@xet7.org>2018-07-06 13:29:05 +0300
commit074a1218fdcfbc30a4629694294832838256abe8 (patch)
tree85b75f337fa43418c3238e336dab561cf6024adf /models/checklists.js
parentc26a31f498a022fb5c7f70c5e00cdad81a6e3c04 (diff)
downloadwekan-074a1218fdcfbc30a4629694294832838256abe8.tar.gz
wekan-074a1218fdcfbc30a4629694294832838256abe8.tar.bz2
wekan-074a1218fdcfbc30a4629694294832838256abe8.zip
- Fix [Title is required](https://github.com/wekan/wekan/issues/1576)
by making [Checkist title optional](https://github.com/wekan/wekan/issues/1753). Thanks to xet7 ! Closes #1576, closes #1753
Diffstat (limited to 'models/checklists.js')
-rw-r--r--models/checklists.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/checklists.js b/models/checklists.js
index c58453ef..2277736e 100644
--- a/models/checklists.js
+++ b/models/checklists.js
@@ -7,6 +7,7 @@ Checklists.attachSchema(new SimpleSchema({
title: {
type: String,
defaultValue: 'Checklist',
+ optional: true,
},
finishedAt: {
type: Date,