update before merge
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user