|
|
@ -41,6 +41,7 @@ class EditDownloadClientModalContent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
id,
|
|
|
|
id,
|
|
|
|
|
|
|
|
implementationName,
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
enable,
|
|
|
|
enable,
|
|
|
|
fields,
|
|
|
|
fields,
|
|
|
@ -50,7 +51,7 @@ class EditDownloadClientModalContent extends Component {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<ModalContent onModalClose={onModalClose}>
|
|
|
|
<ModalContent onModalClose={onModalClose}>
|
|
|
|
<ModalHeader>
|
|
|
|
<ModalHeader>
|
|
|
|
{id ? 'Edit DownloadClient' : 'Add DownloadClient'}
|
|
|
|
{`${id ? 'Edit' : 'Add'} Download Client - ${implementationName}`}
|
|
|
|
</ModalHeader>
|
|
|
|
</ModalHeader>
|
|
|
|
|
|
|
|
|
|
|
|
<ModalBody>
|
|
|
|
<ModalBody>
|
|
|
@ -61,7 +62,7 @@ class EditDownloadClientModalContent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
!isFetching && !!error &&
|
|
|
|
!isFetching && !!error &&
|
|
|
|
<div>Unable to add a new downloadClient, please try again.</div>
|
|
|
|
<div>Unable to add a new download client, please try again.</div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|