mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-24 08:42:53 +00: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 React from 'react';
|
||||
import Alert from 'Components/Alert';
|
||||
import DescriptionList from 'Components/DescriptionList/DescriptionList';
|
||||
import DescriptionListItem from 'Components/DescriptionList/DescriptionListItem';
|
||||
import Form from 'Components/Form/Form';
|
||||
|
@ -75,7 +76,8 @@ function EditImportListModalContent(props) {
|
|||
qualityProfileId,
|
||||
metadataProfileId,
|
||||
tags,
|
||||
fields
|
||||
fields,
|
||||
message
|
||||
} = item;
|
||||
|
||||
return (
|
||||
|
@ -98,6 +100,15 @@ function EditImportListModalContent(props) {
|
|||
{
|
||||
!isFetching && !error &&
|
||||
<Form {...otherProps}>
|
||||
{
|
||||
!!message &&
|
||||
<Alert
|
||||
className={styles.message}
|
||||
kind={message.value.type}
|
||||
>
|
||||
{message.value.message}
|
||||
</Alert>
|
||||
}
|
||||
<FormGroup>
|
||||
<FormLabel>Name</FormLabel>
|
||||
|
||||
|
|
Loading…
Reference in a new issue