(Contacts) Fixed: Clicking on the tag checkbox on tag panel breaks the toggling

This commit is contained in:
sercan 2021-04-25 12:42:41 +03:00
parent 9b059f8d0d
commit 85ea34a6ce

View File

@ -336,9 +336,10 @@
(click)="toggleContactTag(tag)" (click)="toggleContactTag(tag)"
matRipple> matRipple>
<mat-checkbox <mat-checkbox
class="flex items-center h-10 min-h-10" class="flex items-center h-10 min-h-10 pointer-events-none"
[checked]="contact.tags.includes(tag.id)"
[color]="'primary'" [color]="'primary'"
[checked]="contact.tags.includes(tag.id)"> [disableRipple]="true">
</mat-checkbox> </mat-checkbox>
<div class="ml-1">{{tag.title}}</div> <div class="ml-1">{{tag.title}}</div>
</div> </div>