diff --git a/frontend/src/app/features/lists/entry-list/entry-list.component.html b/frontend/src/app/features/lists/entry-list/entry-list.component.html index 8f3e892..f06a71a 100644 --- a/frontend/src/app/features/lists/entry-list/entry-list.component.html +++ b/frontend/src/app/features/lists/entry-list/entry-list.component.html @@ -1,37 +1,3 @@ - - -
diff --git a/frontend/src/app/features/lists/entry-list/entry-list.component.ts b/frontend/src/app/features/lists/entry-list/entry-list.component.ts index e8869fb..4d8b8d8 100644 --- a/frontend/src/app/features/lists/entry-list/entry-list.component.ts +++ b/frontend/src/app/features/lists/entry-list/entry-list.component.ts @@ -28,15 +28,15 @@ export class EntryListComponent implements OnInit { } else { console.log("page n'existe pas"); this.tmdbService - .getPopularMovies(this.currentPage, this.isMovies) + .getPopular(this.currentPage, this.isMovies) .subscribe((myEntries) => { - this.pages[this.currentPage] = myEntries + this.pages[this.currentPage] = myEntries; this.entries = this.pages[this.currentPage]; }); } } else if (this.type == 'trending') { this.tmdbService - .getTrendingMovies(this.currentPage, this.isMovies) + .getTrending(this.currentPage, this.isMovies) .subscribe((myEntries) => (this.entries = myEntries)); } }