mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 00:09:37 +02:00
Fixed: Add Year next to Title on Movie Details Page
This commit is contained in:
parent
5d7166662c
commit
1fe3c81b8d
@ -63,6 +63,11 @@
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
.year {
|
||||
margin-left: 5px;
|
||||
color: $disabledColor;
|
||||
}
|
||||
|
||||
.toggleMonitoredContainer {
|
||||
align-self: center;
|
||||
margin-right: 10px;
|
||||
|
@ -162,6 +162,7 @@ class MovieDetails extends Component {
|
||||
tmdbId,
|
||||
imdbId,
|
||||
title,
|
||||
year,
|
||||
runtime,
|
||||
ratings,
|
||||
path,
|
||||
@ -294,6 +295,10 @@ class MovieDetails extends Component {
|
||||
{title}
|
||||
</div>
|
||||
|
||||
<div className={styles.year}>
|
||||
({year})
|
||||
</div>
|
||||
|
||||
{
|
||||
!!alternateTitles.length &&
|
||||
<div className={styles.alternateTitlesIconContainer}>
|
||||
@ -557,6 +562,7 @@ MovieDetails.propTypes = {
|
||||
tmdbId: PropTypes.number.isRequired,
|
||||
imdbId: PropTypes.string,
|
||||
title: PropTypes.string.isRequired,
|
||||
year: PropTypes.string.isRequired,
|
||||
runtime: PropTypes.number.isRequired,
|
||||
ratings: PropTypes.object.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
|
Loading…
Reference in New Issue
Block a user