Fixed: '/indexers' URL Base breaking UI navigation

(cherry picked from commit 140547e42a32cbaf80e7a794c5be9bfb574e97a2)
This commit is contained in:
bakerboy448 2022-03-08 16:09:52 -06:00
parent cb74fade18
commit 2f5b55013a

View file

@ -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(/^\//, '')}`;