mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fixed: Allow for unchecking empty folder options if both were checked
Fixes #4556
This commit is contained in:
parent
a22c13bfa3
commit
d7e0625be7
@ -87,7 +87,7 @@ class MediaManagement extends Component {
|
|||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.CHECK}
|
type={inputTypes.CHECK}
|
||||||
isDisabled={settings.deleteEmptyFolders.value}
|
isDisabled={settings.deleteEmptyFolders.value && !settings.createEmptyMovieFolders.value}
|
||||||
name="createEmptyMovieFolders"
|
name="createEmptyMovieFolders"
|
||||||
helpText="Create missing movie folders during disk scan"
|
helpText="Create missing movie folders during disk scan"
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
@ -104,7 +104,7 @@ class MediaManagement extends Component {
|
|||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.CHECK}
|
type={inputTypes.CHECK}
|
||||||
isDisabled={settings.createEmptyMovieFolders.value}
|
isDisabled={settings.createEmptyMovieFolders.value && !settings.deleteEmptyFolders.value}
|
||||||
name="deleteEmptyFolders"
|
name="deleteEmptyFolders"
|
||||||
helpText="Delete empty movie folders during disk scan and when movie files are deleted"
|
helpText="Delete empty movie folders during disk scan and when movie files are deleted"
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
|
Loading…
Reference in New Issue
Block a user