We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc2200 commit 46b5b6dCopy full SHA for 46b5b6d
src/app/movie-grid/movie-grid.component.ts
@@ -24,7 +24,6 @@ export class MovieGridComponent {
24
}
25
26
search(query: string) {
27
- console.log(event);
28
this.filteredMovies = this.moviesList.filter((m) =>
29
m.title.toLowerCase().startsWith(query.toLowerCase())
30
);
src/app/movies/movie.service.ts
@@ -46,12 +46,8 @@ export class MovieService {
46
try {
47
const collection = this.storage.retrieve('collection') || [];
48
49
- console.log(id, collection);
50
-
51
const updatedCollection = collection.filter((m) => m.tmdbId !== id);
52
53
- console.log(updatedCollection);
54
55
this.storage.store('collection', updatedCollection);
56
this.toastr.success(`Movie removed`);
57
} catch (error) {
0 commit comments