|
|
@ -86,6 +86,13 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
} = this.state;
|
|
|
|
} = this.state;
|
|
|
|
|
|
|
|
|
|
|
|
const linkProps = isExistingMovie ? { to: `/movie/${titleSlug}` } : { onPress: this.onPress };
|
|
|
|
const linkProps = isExistingMovie ? { to: `/movie/${titleSlug}` } : { onPress: this.onPress };
|
|
|
|
|
|
|
|
const posterWidth = 167;
|
|
|
|
|
|
|
|
const posterHeight = 250;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const elementStyle = {
|
|
|
|
|
|
|
|
width: `${posterWidth}px`,
|
|
|
|
|
|
|
|
height: `${posterHeight}px`
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className={styles.searchResult}>
|
|
|
|
<div className={styles.searchResult}>
|
|
|
@ -102,6 +109,7 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
<div className={styles.posterContainer}>
|
|
|
|
<div className={styles.posterContainer}>
|
|
|
|
<MoviePoster
|
|
|
|
<MoviePoster
|
|
|
|
className={styles.poster}
|
|
|
|
className={styles.poster}
|
|
|
|
|
|
|
|
style={elementStyle}
|
|
|
|
images={images}
|
|
|
|
images={images}
|
|
|
|
size={250}
|
|
|
|
size={250}
|
|
|
|
overflow={true}
|
|
|
|
overflow={true}
|
|
|
@ -114,7 +122,7 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
monitored={monitored}
|
|
|
|
monitored={monitored}
|
|
|
|
hasFile={hasFile}
|
|
|
|
hasFile={hasFile}
|
|
|
|
status={status}
|
|
|
|
status={status}
|
|
|
|
posterWidth={167}
|
|
|
|
posterWidth={posterWidth}
|
|
|
|
detailedProgressBar={true}
|
|
|
|
detailedProgressBar={true}
|
|
|
|
queueStatus={queueStatus}
|
|
|
|
queueStatus={queueStatus}
|
|
|
|
queueState={queueState}
|
|
|
|
queueState={queueState}
|
|
|
|