2
0
Эх сурвалжийг харах

Fix Bug enable/disable Comments in Card Settings.

Thanks to warnt, mdurokov and xet7 !

Closes #2923
Lauri Ojansivu 5 жил өмнө
parent
commit
120a430deb
1 өөрчлөгдсөн 6 нэмэгдсэн , 2 устгасан
  1. 6 2
      models/boards.js

+ 6 - 2
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 } };
   },