mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
@@ -19,11 +19,11 @@ function createMapStateToProps() {
|
||||
function createMapDispatchToProps(dispatch, props) {
|
||||
return {
|
||||
onGoToArtist(foreignArtistId) {
|
||||
dispatch(push(`${window.Sonarr.urlBase}/artist/${foreignArtistId}`));
|
||||
dispatch(push(`${window.Lidarr.urlBase}/artist/${foreignArtistId}`));
|
||||
},
|
||||
|
||||
onGoToAddNewArtist(query) {
|
||||
dispatch(push(`${window.Sonarr.urlBase}/add/new?term=${encodeURIComponent(query)}`));
|
||||
dispatch(push(`${window.Lidarr.urlBase}/add/new?term=${encodeURIComponent(query)}`));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -51,10 +51,10 @@ class PageHeader extends Component {
|
||||
return (
|
||||
<div className={styles.header}>
|
||||
<div className={styles.logoContainer}>
|
||||
<Link to={`${window.Sonarr.urlBase}/`}>
|
||||
<Link to={`${window.Lidarr.urlBase}/`}>
|
||||
<img
|
||||
className={styles.logo}
|
||||
src={`${window.Sonarr.urlBase}/Content/Images/logo.svg`}
|
||||
src={`${window.Lidarr.urlBase}/Content/Images/logo.svg`}
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
@@ -74,6 +74,7 @@ class PageHeader extends Component {
|
||||
className={styles.donate}
|
||||
name={icons.HEART}
|
||||
to="https://www.paypal.me/Lidarr"
|
||||
size={14}
|
||||
/>
|
||||
<PageHeaderActionsMenuConnector
|
||||
onKeyboardShortcutsPress={this.onOpenKeyboardShortcutsModal}
|
||||
|
||||
@@ -61,7 +61,7 @@ function PageHeaderActionsMenu(props) {
|
||||
{
|
||||
formsAuth &&
|
||||
<MenuItem
|
||||
to={`${window.Sonarr.urlBase}/logout`}
|
||||
to={`${window.Lidarr.urlBase}/logout`}
|
||||
noRouter={true}
|
||||
>
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user