1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 01:06:30 +00: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
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}
/>

View file

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