1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Fixed: Validation failures not being shown if adding a series fails

This commit is contained in:
Mark McDowall
2019-01-01 16:13:49 -08:00
parent 36fe4eaa49
commit fc376bfe3f
13 changed files with 64 additions and 62 deletions
@@ -70,7 +70,8 @@ class AddNewSeriesModalContent extends Component {
showLanguageProfile,
isSmallScreen,
onModalClose,
onInputChange
onInputChange,
...otherProps
} = this.props;
return (
@@ -87,22 +88,27 @@ class AddNewSeriesModalContent extends Component {
<ModalBody>
<div className={styles.container}>
{
!isSmallScreen &&
isSmallScreen ?
<div className={styles.poster}>
<SeriesPoster
className={styles.poster}
images={images}
size={250}
/>
</div>
</div> :
null
}
<div className={styles.info}>
<div className={styles.overview}>
{overview}
</div>
{
overview ?
<div className={styles.overview}>
{overview}
</div> :
null
}
<Form>
<Form {...otherProps}>
<FormGroup>
<FormLabel>Root Folder</FormLabel>