(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)"
matRipple>
<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'"
[checked]="contact.tags.includes(tag.id)">
[disableRipple]="true">
</mat-checkbox>
<div class="ml-1">{{tag.title}}</div>
</div>