1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-30 11:55:18 +00: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
type={inputTypes.CHECK}
isDisabled={settings.deleteEmptyFolders.value}
isDisabled={settings.deleteEmptyFolders.value && !settings.createEmptyMovieFolders.value}
name="createEmptyMovieFolders"
helpText="Create missing movie folders during disk scan"
onChange={onInputChange}
@ -104,7 +104,7 @@ class MediaManagement extends Component {
<FormInputGroup
type={inputTypes.CHECK}
isDisabled={settings.createEmptyMovieFolders.value}
isDisabled={settings.createEmptyMovieFolders.value && !settings.deleteEmptyFolders.value}
name="deleteEmptyFolders"
helpText="Delete empty movie folders during disk scan and when movie files are deleted"
onChange={onInputChange}