mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 12:10:19 -07:00
Fixed: Import Lists provider message in UI
This commit is contained in:
parent
e18888562a
commit
cbdec6dcc4
1 changed files with 12 additions and 1 deletions
|
@ -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 DescriptionList from 'Components/DescriptionList/DescriptionList';
|
import DescriptionList from 'Components/DescriptionList/DescriptionList';
|
||||||
import DescriptionListItem from 'Components/DescriptionList/DescriptionListItem';
|
import DescriptionListItem from 'Components/DescriptionList/DescriptionListItem';
|
||||||
import Form from 'Components/Form/Form';
|
import Form from 'Components/Form/Form';
|
||||||
|
@ -75,7 +76,8 @@ function EditImportListModalContent(props) {
|
||||||
qualityProfileId,
|
qualityProfileId,
|
||||||
metadataProfileId,
|
metadataProfileId,
|
||||||
tags,
|
tags,
|
||||||
fields
|
fields,
|
||||||
|
message
|
||||||
} = item;
|
} = item;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -98,6 +100,15 @@ function EditImportListModalContent(props) {
|
||||||
{
|
{
|
||||||
!isFetching && !error &&
|
!isFetching && !error &&
|
||||||
<Form {...otherProps}>
|
<Form {...otherProps}>
|
||||||
|
{
|
||||||
|
!!message &&
|
||||||
|
<Alert
|
||||||
|
className={styles.message}
|
||||||
|
kind={message.value.type}
|
||||||
|
>
|
||||||
|
{message.value.message}
|
||||||
|
</Alert>
|
||||||
|
}
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>Name</FormLabel>
|
<FormLabel>Name</FormLabel>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue