RED-6578, re-add old propagation stop method. Directive is not available in until ver. 4.0.0.
This commit is contained in:
parent
943080db46
commit
9fc485c7bf
@ -64,10 +64,9 @@
|
|||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div
|
<div
|
||||||
(click)="!disabled && toggleApprover(userId)"
|
(click)="!disabled && toggleApprover(userId, $event)"
|
||||||
*ngIf="!disabled || isApprover(userId)"
|
*ngIf="!disabled || isApprover(userId)"
|
||||||
class="make-approver"
|
class="make-approver"
|
||||||
stopPropagation
|
|
||||||
>
|
>
|
||||||
<iqser-round-checkbox
|
<iqser-round-checkbox
|
||||||
[active]="isApprover(userId)"
|
[active]="isApprover(userId)"
|
||||||
|
|||||||
@ -87,7 +87,8 @@ export class EditDossierTeamComponent implements EditDossierSectionInterface, On
|
|||||||
return this.form.value.approvers.includes(userId);
|
return this.form.value.approvers.includes(userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleApprover(userId: string) {
|
toggleApprover(userId: string, event?) {
|
||||||
|
event?.stopPropagation();
|
||||||
const currentApprovers = this.form.value.approvers;
|
const currentApprovers = this.form.value.approvers;
|
||||||
const approversControl = this.form.controls.approvers;
|
const approversControl = this.form.controls.approvers;
|
||||||
if (this.isApprover(userId)) {
|
if (this.isApprover(userId)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user