NS
Size: a a a
NS
ЕУ
VS
NS
VS
VS
ЕУ
ЕУ
MK

export class PageEditBookComponent implements OnInit, OnDestroy {
book: Observable<Book>;
activateRoute$ = this.activateRoute.params.subscribe(params => {
this.book = this.booksService.getBookById(params.id);
});
constructor(private activateRoute: ActivatedRoute,
private booksService: BooksService) { }
ngOnInit(): void {
}
ngOnDestroy(): void {
this.activateRoute$.unsubscribe();
}
}S

export class PageEditBookComponent implements OnInit, OnDestroy {
book: Observable<Book>;
activateRoute$ = this.activateRoute.params.subscribe(params => {
this.book = this.booksService.getBookById(params.id);
});
constructor(private activateRoute: ActivatedRoute,
private booksService: BooksService) { }
ngOnInit(): void {
}
ngOnDestroy(): void {
this.activateRoute$.unsubscribe();
}
}MK
VS
VS
MK
VS
VS
CF
AZ
AZ
AS