mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
Fixed: '/indexers' URL Base breaking UI navigation
(cherry picked from commit 140547e42a32cbaf80e7a794c5be9bfb574e97a2)
This commit is contained in:
parent
cb74fade18
commit
2f5b55013a
1 changed files with 0 additions and 4 deletions
|
|
@ -47,10 +47,6 @@ class Link extends Component {
|
||||||
el = 'a';
|
el = 'a';
|
||||||
linkProps.href = to;
|
linkProps.href = to;
|
||||||
linkProps.target = target || '_self';
|
linkProps.target = target || '_self';
|
||||||
} else if (to.startsWith(`${window.Prowlarr.urlBase}/`)) {
|
|
||||||
el = RouterLink;
|
|
||||||
linkProps.to = to;
|
|
||||||
linkProps.target = target;
|
|
||||||
} else {
|
} else {
|
||||||
el = RouterLink;
|
el = RouterLink;
|
||||||
linkProps.to = `${window.Prowlarr.urlBase}/${to.replace(/^\//, '')}`;
|
linkProps.to = `${window.Prowlarr.urlBase}/${to.replace(/^\//, '')}`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue