1
0
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:
austinwbest 2020-07-14 23:26:29 -04:00 committed by GitHub
parent a22c13bfa3
commit d7e0625be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}