|
|
@ -266,6 +266,7 @@ class MovieDetails extends Component {
|
|
|
|
qualityProfileId,
|
|
|
|
qualityProfileId,
|
|
|
|
monitored,
|
|
|
|
monitored,
|
|
|
|
studio,
|
|
|
|
studio,
|
|
|
|
|
|
|
|
genres,
|
|
|
|
collection,
|
|
|
|
collection,
|
|
|
|
overview,
|
|
|
|
overview,
|
|
|
|
youTubeTrailerId,
|
|
|
|
youTubeTrailerId,
|
|
|
@ -582,6 +583,19 @@ class MovieDetails extends Component {
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</InfoLabel>
|
|
|
|
</InfoLabel>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
!!genres.length && !isSmallScreen &&
|
|
|
|
|
|
|
|
<InfoLabel
|
|
|
|
|
|
|
|
className={styles.detailsInfoLabel}
|
|
|
|
|
|
|
|
title={translate('Genres')}
|
|
|
|
|
|
|
|
size={sizes.LARGE}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span className={styles.genres}>
|
|
|
|
|
|
|
|
{genres.join(', ')}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</InfoLabel>
|
|
|
|
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<Measure onMeasure={this.onMeasure}>
|
|
|
|
<Measure onMeasure={this.onMeasure}>
|
|
|
@ -766,6 +780,7 @@ MovieDetails.propTypes = {
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
status: PropTypes.string.isRequired,
|
|
|
|
status: PropTypes.string.isRequired,
|
|
|
|
studio: PropTypes.string,
|
|
|
|
studio: PropTypes.string,
|
|
|
|
|
|
|
|
genres: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
|
|
collection: PropTypes.object,
|
|
|
|
collection: PropTypes.object,
|
|
|
|
youTubeTrailerId: PropTypes.string,
|
|
|
|
youTubeTrailerId: PropTypes.string,
|
|
|
|
isAvailable: PropTypes.bool.isRequired,
|
|
|
|
isAvailable: PropTypes.bool.isRequired,
|
|
|
@ -798,6 +813,7 @@ MovieDetails.propTypes = {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
MovieDetails.defaultProps = {
|
|
|
|
MovieDetails.defaultProps = {
|
|
|
|
|
|
|
|
genres: [],
|
|
|
|
tags: [],
|
|
|
|
tags: [],
|
|
|
|
isSaving: false,
|
|
|
|
isSaving: false,
|
|
|
|
sizeOnDisk: 0
|
|
|
|
sizeOnDisk: 0
|
|
|
|