diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-02-07 02:34:57 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-02-07 02:34:57 +0200 |
commit | 120a430deb04afe2cafc95a02298d2ead25b1d56 (patch) | |
tree | 02afb44717cd3f6b28ac1a6a451a93a3dcc619e4 | |
parent | 8e7b9b73b5dc8d15656abadafc34e0f4cd6418b1 (diff) | |
download | wekan-120a430deb04afe2cafc95a02298d2ead25b1d56.tar.gz wekan-120a430deb04afe2cafc95a02298d2ead25b1d56.tar.bz2 wekan-120a430deb04afe2cafc95a02298d2ead25b1d56.zip |
Fix Bug enable/disable Comments in Card Settings.
Thanks to warnt, mdurokov and xet7 !
Closes #2923
-rw-r--r-- | models/boards.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/models/boards.js b/models/boards.js index 786e7108..af7b739f 100644 --- a/models/boards.js +++ b/models/boards.js @@ -1095,8 +1095,8 @@ Boards.mutations({ return { $set: { allowsChecklists } }; }, - setAllowsAssignee(allowsComments) { - return { $set: { allowsComments } }; + setAllowsAssignee(allowsAssignee) { + return { $set: { allowsAssignee } }; }, setAllowsAssignedBy(allowsAssignedBy) { @@ -1115,6 +1115,10 @@ Boards.mutations({ return { $set: { allowsLabels } }; }, + setAllowsComments(allowsComments) { + return { $set: { allowsComments } }; + }, + setAllowsReceivedDate(allowsReceivedDate) { return { $set: { allowsReceivedDate } }; }, |