diff --git a/frontend/src/Components/Link/Link.js b/frontend/src/Components/Link/Link.js index 3a609c99c..7ccb01078 100644 --- a/frontend/src/Components/Link/Link.js +++ b/frontend/src/Components/Link/Link.js @@ -47,7 +47,7 @@ class Link extends Component { el = 'a'; linkProps.href = to; linkProps.target = target || '_self'; - } else if (to.startsWith(window.Sonarr.urlBase)) { + } else if (to.startsWith(`${window.Sonarr.urlBase}/`)) { el = RouterLink; linkProps.to = to; linkProps.target = target; diff --git a/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js b/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js index 59a8a7f3b..16a9f8d00 100644 --- a/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js +++ b/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js @@ -294,7 +294,7 @@ class InteractiveImportRow extends Component { { - !!rejections.length && + rejections && rejections.length ? } position={tooltipPositions.LEFT} - /> + /> : + null } diff --git a/frontend/src/Series/Details/SeriesDetailsSeason.js b/frontend/src/Series/Details/SeriesDetailsSeason.js index e6f6a93de..c00d89f4f 100644 --- a/frontend/src/Series/Details/SeriesDetailsSeason.js +++ b/frontend/src/Series/Details/SeriesDetailsSeason.js @@ -274,7 +274,6 @@ class SeriesDetailsSeason extends Component { /> } - kind={kinds.INVERSE} position={tooltipPositions.BOTTOM} /> diff --git a/frontend/src/Store/Selectors/createSeriesQualityProfileSelector.js b/frontend/src/Store/Selectors/createSeriesQualityProfileSelector.js index 4a04e63a3..9c093e6ee 100644 --- a/frontend/src/Store/Selectors/createSeriesQualityProfileSelector.js +++ b/frontend/src/Store/Selectors/createSeriesQualityProfileSelector.js @@ -5,7 +5,7 @@ function createSeriesQualityProfileSelector() { return createSelector( (state) => state.settings.qualityProfiles.items, createSeriesSelector(), - (qualityProfiles, series) => { + (qualityProfiles, series = {}) => { return qualityProfiles.find((profile) => { return profile.id === series.qualityProfileId; });