1
0
Fork 0
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:
Robin Dadswell 2021-05-07 12:50:48 +01:00 committed by GitHub
parent e18888562a
commit cbdec6dcc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>