Fixed: '/artist' URL Base breaking UI navigation

This commit is contained in:
Qstick 2021-01-09 22:28:25 -05:00
parent ef5d1b2946
commit c8454948aa
1 changed files with 0 additions and 4 deletions

View File

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