summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebar.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/sidebar/sidebar.js')
-rw-r--r--client/components/sidebar/sidebar.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 678c16d2..4de7aa80 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -794,8 +794,11 @@ BlazeComponent.extendComponent({
},
'click .js-field-has-assigned-by'(evt) {
evt.preventDefault();
- this.currentBoard.allowsAssignedBy = !this.currentBoard.allowsAssignedBy;
- this.currentBoard.setAllowsAssignedBy(this.currentBoard.allowsAssignedBy);
+ this.currentBoard.allowsAssignedBy = !this.currentBoard
+ .allowsAssignedBy;
+ this.currentBoard.setAllowsAssignedBy(
+ this.currentBoard.allowsAssignedBy,
+ );
$(`.js-field-has-assigned-by ${MCB}`).toggleClass(
CKCLS,
this.currentBoard.allowsAssignedBy,
@@ -807,8 +810,11 @@ BlazeComponent.extendComponent({
},
'click .js-field-has-requested-by'(evt) {
evt.preventDefault();
- this.currentBoard.allowsRequestedBy = !this.currentBoard.allowsRequestedBy;
- this.currentBoard.setAllowsRequestedBy(this.currentBoard.allowsRequestedBy);
+ this.currentBoard.allowsRequestedBy = !this.currentBoard
+ .allowsRequestedBy;
+ this.currentBoard.setAllowsRequestedBy(
+ this.currentBoard.allowsRequestedBy,
+ );
$(`.js-field-has-requested-by ${MCB}`).toggleClass(
CKCLS,
this.currentBoard.allowsRequestedBy,