started working on discover page
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user