mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Fixed: IncludeFiles if File Selection Modal
This commit is contained in:
parent
3cd58d5866
commit
789ce8a58f
5 changed files with 58 additions and 20 deletions
|
@ -20,6 +20,8 @@ function getType(type) {
|
|||
return inputTypes.NUMBER;
|
||||
case 'path':
|
||||
return inputTypes.PATH;
|
||||
case 'filepath':
|
||||
return inputTypes.PATH;
|
||||
case 'select':
|
||||
return inputTypes.SELECT;
|
||||
case 'tag':
|
||||
|
@ -84,7 +86,7 @@ function ProviderFieldFormGroup(props) {
|
|||
errors={errors}
|
||||
warnings={warnings}
|
||||
pending={pending}
|
||||
hasFileBrowser={false}
|
||||
includeFiles={type === 'filepath' ? true : undefined}
|
||||
onChange={onChange}
|
||||
{...otherProps}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue