mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
Fix compile warnings
This commit is contained in:
parent
c86fa16820
commit
41f28b13c6
|
|
@ -58,7 +58,7 @@
|
|||
<mat-header-row *matHeaderRowDef="columns"></mat-header-row>
|
||||
<mat-row *matRowDef="let call; columns: columns"></mat-row>
|
||||
</mat-table>
|
||||
<mat-paginator [length]="count" [hidePageSize]="true" (page)="onPage($event)" [pageSize]="pageSize"
|
||||
<mat-paginator [length]="count" [hidePageSize]="true" (page)="onPage($event)" [pageSize]="actualPageSize"
|
||||
[showFirstLastButtons]="true">
|
||||
</mat-paginator>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ export class AppRadioSearchComponent implements OnDestroy, OnInit {
|
|||
|
||||
readonly columns = ['control', 'date', 'time', 'system', 'alpha', 'description'];
|
||||
|
||||
get actualPageSize() {
|
||||
return this.pageSize.value;
|
||||
}
|
||||
|
||||
@ViewChild(MatPaginator, { static: true }) private matPaginator: MatPaginator;
|
||||
@ViewChild(MatTable, { static: true }) private matTable: MatTable<RadioCall[]>;
|
||||
|
||||
|
|
|
|||
|
|
@ -248,9 +248,9 @@ export class AppRadioService implements OnDestroy {
|
|||
this.audioTimer = setInterval(() => this.emitTimeEvent(), 500);
|
||||
|
||||
}, (error: Error) => {
|
||||
throw (error);
|
||||
|
||||
this.skip(true);
|
||||
|
||||
throw (error);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue