New: Improve help text for extra file importing

pull/3191/head
Mark McDowall 5 years ago
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…
Cancel
Save