update before merge

pull/2/head
Bastien OLLIER 3 weeks ago
parent af6600166d
commit 4df1af17d4

@ -12,7 +12,6 @@ export class RecipeComponent {
@Input() @Input()
set id(id: string) { set id(id: string) {
console.log('test',this.recipes.get(0));
this.recipe = this.recipes.get(parseInt(id))!; this.recipe = this.recipes.get(parseInt(id))!;
} }

@ -39,6 +39,6 @@
<mat-paginator [pageSizeOptions]="[5, 10, 20]" <mat-paginator [pageSizeOptions]="[5, 10, 20]"
showFirstLastButtons showFirstLastButtons
aria-label="Select page of periodic elements"> aria-label="Select page of recipes">
</mat-paginator> </mat-paginator>
</div> </div>

Loading…
Cancel
Save