implemented UserCollection edit modal + custom collection poster + media access route
This commit is contained in:
1 parent
0ff3c49ca6
commit
e8c4fba943
17 files changed
+499
-73
No files matched your search
+6
-1
@@ -32,8 +32,13 @@ export class UserCollectionsListItemComponent {
|
||||
|
||||
getPostPath() {
|
||||
if (this.list.poster_path == null) return 'https://pic.pnnet.dev/256x256';
|
||||
if (this.list.poster_path.startsWith('/'))
|
||||
return `https://image.tmdb.org/t/p/w500` + this.list.poster_path;
|
||||
|
||||
return `https://image.tmdb.org/t/p/w500` + this.list.poster_path;
|
||||
return (
|
||||
`http://localhost:4000/api/v1/media/collections/posters/` +
|
||||
this.list.poster_path
|
||||
);
|
||||
}
|
||||
|
||||
getCreatedDate(): string {
|
||||
|
||||
Reference in new issue
Block a user