feat: getting details of manga
This commit is contained in:
@@ -23,6 +23,12 @@ export class HomeComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
}
|
||||
|
||||
getDetails(slug_url: string) {
|
||||
this.searchService.getDetails(slug_url).subscribe((data) => {
|
||||
console.log(data);
|
||||
});
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
this.subscription.unsubscribe();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user