|
@@ -794,8 +794,11 @@ BlazeComponent.extendComponent({
|
|
},
|
|
},
|
|
'click .js-field-has-assigned-by'(evt) {
|
|
'click .js-field-has-assigned-by'(evt) {
|
|
evt.preventDefault();
|
|
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(
|
|
$(`.js-field-has-assigned-by ${MCB}`).toggleClass(
|
|
CKCLS,
|
|
CKCLS,
|
|
this.currentBoard.allowsAssignedBy,
|
|
this.currentBoard.allowsAssignedBy,
|
|
@@ -807,8 +810,11 @@ BlazeComponent.extendComponent({
|
|
},
|
|
},
|
|
'click .js-field-has-requested-by'(evt) {
|
|
'click .js-field-has-requested-by'(evt) {
|
|
evt.preventDefault();
|
|
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(
|
|
$(`.js-field-has-requested-by ${MCB}`).toggleClass(
|
|
CKCLS,
|
|
CKCLS,
|
|
this.currentBoard.allowsRequestedBy,
|
|
this.currentBoard.allowsRequestedBy,
|