mirror of
https://github.com/Lidarr/Lidarr
synced 2026-04-21 20:21:30 +02:00
Fixed: '/artist' URL Base breaking UI navigation
This commit is contained in:
parent
ef5d1b2946
commit
c8454948aa
1 changed files with 0 additions and 4 deletions
|
|
@ -47,10 +47,6 @@ class Link extends Component {
|
|||
el = 'a';
|
||||
linkProps.href = to;
|
||||
linkProps.target = target || '_self';
|
||||
} else if (to.startsWith(`${window.Lidarr.urlBase}/`)) {
|
||||
el = RouterLink;
|
||||
linkProps.to = to;
|
||||
linkProps.target = target;
|
||||
} else {
|
||||
el = RouterLink;
|
||||
linkProps.to = `${window.Lidarr.urlBase}/${to.replace(/^\//, '')}`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue