mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
New: Improve help text for extra file importing
This commit is contained in:
parent
8137a776b6
commit
0cb557b716
@ -204,7 +204,10 @@ class MediaManagement extends Component {
|
||||
<FormInputGroup
|
||||
type={inputTypes.TEXT}
|
||||
name="extraFileExtensions"
|
||||
helpText="Comma separated list of extra files to import, ie sub,nfo (.nfo will be imported as .nfo-orig)"
|
||||
helpTexts={[
|
||||
'Comma separated list of extra files to import (.nfo will be imported as .nfo-orig)',
|
||||
'Examples: ".sub, .nfo" or "sub,nfo"'
|
||||
]}
|
||||
onChange={onInputChange}
|
||||
{...settings.extraFileExtensions}
|
||||
/>
|
||||
|
@ -5,7 +5,7 @@ function createSeriesLanguageProfileSelector() {
|
||||
return createSelector(
|
||||
(state) => state.settings.languageProfiles.items,
|
||||
createSeriesSelector(),
|
||||
(languageProfiles, series) => {
|
||||
(languageProfiles, series = {}) => {
|
||||
return languageProfiles.find((profile) => {
|
||||
return profile.id === series.languageProfileId;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user