fix search filter automation id

This commit is contained in:
Eugenio Romano
2018-08-07 23:15:59 +01:00
parent f606149344
commit c83731a283

View File

@@ -93,7 +93,7 @@
<mat-checkbox <mat-checkbox
*ngFor="let bucket of field.buckets" *ngFor="let bucket of field.buckets"
[checked]="bucket.checked" [checked]="bucket.checked"
[attr.data-automation-id]="'checkbox-'+field.label+'-'++(bucket.display || bucket.label)" [attr.data-automation-id]="'checkbox-'+field.label+'-'+(bucket.display || bucket.label)"
(change)="onToggleBucket($event, field, bucket)"> (change)="onToggleBucket($event, field, bucket)">
{{ bucket.display || bucket.label }} <span *ngIf="bucket.count!==null">(</span>{{ bucket.count }}<span *ngIf="bucket.count!==null">)</span> {{ bucket.display || bucket.label }} <span *ngIf="bucket.count!==null">(</span>{{ bucket.count }}<span *ngIf="bucket.count!==null">)</span>
</mat-checkbox> </mat-checkbox>