interface #2
@@ -12,7 +12,6 @@ export class RecipeComponent {
|
||||
|
||||
@Input()
|
||||
set id(id: string) {
|
||||
console.log('test',this.recipes.get(0));
|
||||
this.recipe = this.recipes.get(parseInt(id))!;
|
||||
}
|
||||
|
||||
|
@@ -39,6 +39,6 @@
|
||||
|
||||
<mat-paginator [pageSizeOptions]="[5, 10, 20]"
|
||||
showFirstLastButtons
|
||||
aria-label="Select page of periodic elements">
|
||||
aria-label="Select page of recipes">
|
||||
</mat-paginator>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user