Fixed: '/indexers' URL Base breaking UI navigation

(cherry picked from commit 140547e42a32cbaf80e7a794c5be9bfb574e97a2)
pull/901/head
bakerboy448 3 years ago
parent cb74fade18
commit 2f5b55013a

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

Loading…
Cancel
Save