New: Lidarr to Readarr

This commit is contained in:
Qstick
2020-02-29 15:51:29 -05:00
parent 7359c2a9fa
commit 3b7eb01918
565 changed files with 1669 additions and 4272 deletions
@@ -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