mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
only show PosterImage in media pages if we have a extPosterPath
This commit is contained in:
@@ -11,6 +11,7 @@ These changes are awaiting release:
|
||||
- Login: Display error when request to get available auth providers fails.
|
||||
- Removed some legacy code that still thought there was a `store.watchedList`.
|
||||
- DropDown: Fix whole page scrolling when pressing letter to scroll to first relevant dropdown item (only the dropdown list should scroll now, which is less jarring).
|
||||
- Media pages: Only show PosterImage if we have a poster path.
|
||||
|
||||
## Maintenance
|
||||
|
||||
|
||||
@@ -96,11 +96,13 @@
|
||||
<div class="content">
|
||||
<div class="details-wrap">
|
||||
<div class="details-container">
|
||||
<PosterImage
|
||||
src={"https://images.igdb.com/igdb/image/upload/t_cover_big/" +
|
||||
game.extPosterPath +
|
||||
".jpg"}
|
||||
/>
|
||||
{#if game.extPosterPath}
|
||||
<PosterImage
|
||||
src={"https://images.igdb.com/igdb/image/upload/t_cover_big/" +
|
||||
game.extPosterPath +
|
||||
".jpg"}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<div class="details">
|
||||
<Title
|
||||
|
||||
@@ -131,9 +131,11 @@
|
||||
<div class="content">
|
||||
<div class="details-wrap">
|
||||
<div class="details-container">
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + movie.extPosterPath}
|
||||
/>
|
||||
{#if movie.extPosterPath}
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + movie.extPosterPath}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<div class="details">
|
||||
<Title
|
||||
|
||||
@@ -132,9 +132,11 @@
|
||||
<div class="content">
|
||||
<div class="details-wrap">
|
||||
<div class="details-container">
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + person.extPosterPath}
|
||||
/>
|
||||
{#if person.extPosterPath}
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + person.extPosterPath}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<div class="details">
|
||||
<span class="title-container">
|
||||
|
||||
@@ -155,9 +155,11 @@
|
||||
<div class="content">
|
||||
<div class="details-wrap">
|
||||
<div class="details-container">
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + show.extPosterPath}
|
||||
/>
|
||||
{#if show.extPosterPath}
|
||||
<PosterImage
|
||||
src={"https://image.tmdb.org/t/p/w500" + show.extPosterPath}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<div class="details">
|
||||
<Title
|
||||
|
||||
Reference in New Issue
Block a user