mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Fixed: Import Lists messages can now show in UI
This commit is contained in:
parent
02bcb4d865
commit
ca2e62492d
@ -1,5 +1,6 @@
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
import Form from 'Components/Form/Form';
|
import Form from 'Components/Form/Form';
|
||||||
import FormGroup from 'Components/Form/FormGroup';
|
import FormGroup from 'Components/Form/FormGroup';
|
||||||
import FormInputGroup from 'Components/Form/FormInputGroup';
|
import FormInputGroup from 'Components/Form/FormInputGroup';
|
||||||
@ -47,7 +48,8 @@ function EditImportListModalContent(props) {
|
|||||||
rootFolderPath,
|
rootFolderPath,
|
||||||
searchOnAdd,
|
searchOnAdd,
|
||||||
tags,
|
tags,
|
||||||
fields
|
fields,
|
||||||
|
message
|
||||||
} = item;
|
} = item;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -74,6 +76,15 @@ function EditImportListModalContent(props) {
|
|||||||
<Form
|
<Form
|
||||||
{...otherProps}
|
{...otherProps}
|
||||||
>
|
>
|
||||||
|
{
|
||||||
|
!!message &&
|
||||||
|
<Alert
|
||||||
|
className={styles.message}
|
||||||
|
kind={message.value.type}
|
||||||
|
>
|
||||||
|
{message.value.message}
|
||||||
|
</Alert>
|
||||||
|
}
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('Name')}</FormLabel>
|
<FormLabel>{translate('Name')}</FormLabel>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user