Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final. Testing is required.
This commit is contained in:
@@ -90,9 +90,7 @@
|
||||
<mat-header-cell *matHeaderCellDef>Prints</mat-header-cell>
|
||||
<mat-cell *matCellDef="let row; let i = index" class="no-bg">
|
||||
{{ row.prints }}
|
||||
<mat-icon *ngIf="!$any(form.controls.attendances).controls[i].pristine"
|
||||
>new_releases</mat-icon
|
||||
>
|
||||
<mat-icon *ngIf="!attendancesArray.controls[i].pristine">new_releases</mat-icon>
|
||||
<mat-chip-list class="no-bg">
|
||||
<mat-chip
|
||||
*ngIf="row.hoursWorked.length"
|
||||
|
||||
@@ -147,4 +147,8 @@ export class EmployeeAttendanceComponent implements OnInit, AfterViewInit {
|
||||
});
|
||||
return this.info;
|
||||
}
|
||||
|
||||
get attendancesArray(): FormArray {
|
||||
return this.form.get('attendances') as FormArray;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user