mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Lidarr to Readarr
This commit is contained in:
@@ -54,11 +54,11 @@ function createMapStateToProps() {
|
||||
function createMapDispatchToProps(dispatch, props) {
|
||||
return {
|
||||
onGoToArtist(foreignArtistId) {
|
||||
dispatch(push(`${window.Lidarr.urlBase}/artist/${foreignArtistId}`));
|
||||
dispatch(push(`${window.Readarr.urlBase}/artist/${foreignArtistId}`));
|
||||
},
|
||||
|
||||
onGoToAddNewArtist(query) {
|
||||
dispatch(push(`${window.Lidarr.urlBase}/add/search?term=${encodeURIComponent(query)}`));
|
||||
dispatch(push(`${window.Readarr.urlBase}/add/search?term=${encodeURIComponent(query)}`));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,11 +53,11 @@ class PageHeader extends Component {
|
||||
<div className={styles.logoContainer}>
|
||||
<Link
|
||||
className={styles.logoLink}
|
||||
to={`${window.Lidarr.urlBase}/`}
|
||||
to={`${window.Readarr.urlBase}/`}
|
||||
>
|
||||
<img
|
||||
className={styles.logo}
|
||||
src={`${window.Lidarr.urlBase}/Content/Images/logo.svg`}
|
||||
src={`${window.Readarr.urlBase}/Content/Images/logo.svg`}
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
@@ -76,7 +76,7 @@ class PageHeader extends Component {
|
||||
<IconButton
|
||||
className={styles.donate}
|
||||
name={icons.HEART}
|
||||
to="https://opencollective.com/lidarr"
|
||||
to="https://opencollective.com/readarr"
|
||||
size={14}
|
||||
/>
|
||||
<PageHeaderActionsMenuConnector
|
||||
|
||||
@@ -62,7 +62,7 @@ function PageHeaderActionsMenu(props) {
|
||||
{
|
||||
formsAuth &&
|
||||
<MenuItem
|
||||
to={`${window.Lidarr.urlBase}/logout`}
|
||||
to={`${window.Readarr.urlBase}/logout`}
|
||||
noRouter={true}
|
||||
>
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user