mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
Added: Show name in Indexer-Client-Notification modal headers
This commit is contained in:
parent
b9f625a0a7
commit
b5ae7eed87
5 changed files with 16 additions and 6 deletions
|
@ -41,6 +41,7 @@ class EditDownloadClientModalContent extends Component {
|
|||
|
||||
const {
|
||||
id,
|
||||
implementationName,
|
||||
name,
|
||||
enable,
|
||||
fields,
|
||||
|
@ -50,7 +51,7 @@ class EditDownloadClientModalContent extends Component {
|
|||
return (
|
||||
<ModalContent onModalClose={onModalClose}>
|
||||
<ModalHeader>
|
||||
{id ? 'Edit DownloadClient' : 'Add DownloadClient'}
|
||||
{`${id ? 'Edit' : 'Add'} Download Client - ${implementationName}`}
|
||||
</ModalHeader>
|
||||
|
||||
<ModalBody>
|
||||
|
@ -61,7 +62,7 @@ class EditDownloadClientModalContent extends Component {
|
|||
|
||||
{
|
||||
!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>
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
@ -35,6 +35,7 @@ function EditIndexerModalContent(props) {
|
|||
|
||||
const {
|
||||
id,
|
||||
implementationName,
|
||||
name,
|
||||
enableRss,
|
||||
enableAutomaticSearch,
|
||||
|
@ -47,7 +48,7 @@ function EditIndexerModalContent(props) {
|
|||
return (
|
||||
<ModalContent onModalClose={onModalClose}>
|
||||
<ModalHeader>
|
||||
{id ? 'Edit Indexer' : 'Add Indexer'}
|
||||
{`${id ? 'Edit' : 'Add'} Indexer - ${implementationName}`}
|
||||
</ModalHeader>
|
||||
|
||||
<ModalBody>
|
||||
|
|
|
@ -36,6 +36,7 @@ function EditNotificationModalContent(props) {
|
|||
|
||||
const {
|
||||
id,
|
||||
implementationName,
|
||||
name,
|
||||
onGrab,
|
||||
onDownload,
|
||||
|
@ -55,7 +56,7 @@ function EditNotificationModalContent(props) {
|
|||
return (
|
||||
<ModalContent onModalClose={onModalClose}>
|
||||
<ModalHeader>
|
||||
{id ? 'Edit Notification' : 'Add Notification'}
|
||||
{`${id ? 'Edit' : 'Add'} Connection - ${implementationName}`}
|
||||
</ModalHeader>
|
||||
|
||||
<ModalBody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue