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:
parent
8137a776b6
commit
0cb557b716
2 changed files with 5 additions and 2 deletions
|
@ -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 a new issue