started working on discover page

This commit is contained in:
X4Lo committed 2024-08-29 19:03:03 +01:00
1 parent 58edac7259
commit 92aedb65d0
13 files changed
+233 -3

No files matched your search

@@ -194,11 +194,13 @@ export class MainCardComponent implements OnInit {
cardClick() {
if (this.entry.isInLibrary)
this.router.navigate([`/entries/${this.entry.id}`]);
else
else {
let type = this.entry.is_tvseries ? 'tv' : 'movie';
window.open(
'https://www.themoviedb.org/movie/' + this.entry.entryId.tmdb_id,
`https://www.themoviedb.org/${type}/` + this.entry.entryId.tmdb_id,
'_blank'
);
}
}
getTmdbLink() {