Fixed: '/author' URL Base breaking UI navigation

pull/678/head
bakerboy448 3 years ago committed by Qstick
parent 9a13790354
commit caaa8bfead

@ -47,10 +47,6 @@ class Link extends Component {
el = 'a';
linkProps.href = to;
linkProps.target = target || '_self';
} else if (to.startsWith(`${window.Readarr.urlBase}/`)) {
el = RouterLink;
linkProps.to = to;
linkProps.target = target;
} else {
el = RouterLink;
linkProps.to = `${window.Readarr.urlBase}/${to.replace(/^\//, '')}`;

@ -53,7 +53,7 @@ class PageHeader extends Component {
<div className={styles.logoContainer}>
<Link
className={styles.logoLink}
to={`${window.Readarr.urlBase}/`}
to={'/'}
>
<img
className={styles.logo}

Loading…
Cancel
Save