Add missing information on overview page for it to compile
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
<p-dataView
|
||||
[value]="entries"
|
||||
[paginator]="true"
|
||||
[rows]="rowsPerPageDefaultOption"
|
||||
[rowsPerPageOptions]="rowsPerPageOptions"
|
||||
[rows]="25"
|
||||
[rowsPerPageOptions]="[10, 25, 50, 100]"
|
||||
[pageLinks]="0"
|
||||
[showCurrentPageReport]="true"
|
||||
[currentPageReportTemplate]="currentPageReportTemplate"
|
||||
currentPageReportTemplate="{currentPage} / {totalPages}"
|
||||
layout="list"
|
||||
>
|
||||
<ng-template #list let-entries>
|
||||
|
||||
@@ -39,6 +39,8 @@ export class EntriesComponent {
|
||||
protected readonly consumptionEntries$: Observable<ConsumptionEntry[]>;
|
||||
protected readonly cars$: Observable<Car[]>;
|
||||
|
||||
protected readonly skeletonsIterationSource = Array(10).fill(0);
|
||||
|
||||
constructor() {
|
||||
this.consumptionEntries$ = this.consumptionClient.getAll()
|
||||
.pipe(
|
||||
|
||||
Reference in New Issue
Block a user