mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Shouldn't UI error if no settings exist for indexer
This commit is contained in:
@@ -106,6 +106,7 @@ function EditIndexerModalContent(props) {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
{
|
{
|
||||||
|
fields ?
|
||||||
fields.map((field) => {
|
fields.map((field) => {
|
||||||
return (
|
return (
|
||||||
<ProviderFieldFormGroup
|
<ProviderFieldFormGroup
|
||||||
@@ -117,7 +118,8 @@ function EditIndexerModalContent(props) {
|
|||||||
onChange={onFieldChange}
|
onChange={onFieldChange}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})
|
}) :
|
||||||
|
null
|
||||||
}
|
}
|
||||||
<FormGroup
|
<FormGroup
|
||||||
advancedSettings={advancedSettings}
|
advancedSettings={advancedSettings}
|
||||||
|
Reference in New Issue
Block a user