Fixed: Allow for unchecking empty folder options if both were checked

Fixes #4556
pull/2/head
austinwbest 4 years ago committed by GitHub
parent a22c13bfa3
commit d7e0625be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save