mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Small UI fixes
Fixed: Season count popover styling Fixed: URL base of /series linking to the wrong path in some cases Fixed: Manual import showing error when a different series is selected Fixed: Error when deleting series from poster list
This commit is contained in:
parent
5275aa72fb
commit
3a7992b1c8
@ -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;
|
||||
|
@ -294,7 +294,7 @@ class InteractiveImportRow extends Component {
|
||||
|
||||
<TableRowCell>
|
||||
{
|
||||
!!rejections.length &&
|
||||
rejections && rejections.length ?
|
||||
<Popover
|
||||
anchor={
|
||||
<Icon
|
||||
@ -317,7 +317,8 @@ class InteractiveImportRow extends Component {
|
||||
</ul>
|
||||
}
|
||||
position={tooltipPositions.LEFT}
|
||||
/>
|
||||
/> :
|
||||
null
|
||||
}
|
||||
</TableRowCell>
|
||||
|
||||
|
@ -274,7 +274,6 @@ class SeriesDetailsSeason extends Component {
|
||||
/>
|
||||
</div>
|
||||
}
|
||||
kind={kinds.INVERSE}
|
||||
position={tooltipPositions.BOTTOM}
|
||||
/>
|
||||
</div>
|
||||
|
@ -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;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user