Fixed: '/artist' URL Base breaking UI navigation

pull/1898/head
Qstick 4 years ago
parent ef5d1b2946
commit c8454948aa

@ -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…
Cancel
Save