From 0cb557b716af5383ac2ca318999a8f398e00f26c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 29 Jun 2019 15:27:08 -0700 Subject: [PATCH] New: Improve help text for extra file importing --- frontend/src/Settings/MediaManagement/MediaManagement.js | 5 ++++- .../Store/Selectors/createSeriesLanguageProfileSelector.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/Settings/MediaManagement/MediaManagement.js b/frontend/src/Settings/MediaManagement/MediaManagement.js index 77e956458..cc357032b 100644 --- a/frontend/src/Settings/MediaManagement/MediaManagement.js +++ b/frontend/src/Settings/MediaManagement/MediaManagement.js @@ -204,7 +204,10 @@ class MediaManagement extends Component { diff --git a/frontend/src/Store/Selectors/createSeriesLanguageProfileSelector.js b/frontend/src/Store/Selectors/createSeriesLanguageProfileSelector.js index 0774b5178..94ebcc0ec 100644 --- a/frontend/src/Store/Selectors/createSeriesLanguageProfileSelector.js +++ b/frontend/src/Store/Selectors/createSeriesLanguageProfileSelector.js @@ -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; });