1
0
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:
Mark McDowall 2019-06-29 15:27:08 -07:00
parent 8137a776b6
commit 0cb557b716
2 changed files with 5 additions and 2 deletions

View File

@ -204,7 +204,10 @@ class MediaManagement extends Component {
<FormInputGroup <FormInputGroup
type={inputTypes.TEXT} type={inputTypes.TEXT}
name="extraFileExtensions" 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} onChange={onInputChange}
{...settings.extraFileExtensions} {...settings.extraFileExtensions}
/> />

View File

@ -5,7 +5,7 @@ function createSeriesLanguageProfileSelector() {
return createSelector( return createSelector(
(state) => state.settings.languageProfiles.items, (state) => state.settings.languageProfiles.items,
createSeriesSelector(), createSeriesSelector(),
(languageProfiles, series) => { (languageProfiles, series = {}) => {
return languageProfiles.find((profile) => { return languageProfiles.find((profile) => {
return profile.id === series.languageProfileId; return profile.id === series.languageProfileId;
}); });