Fixed: URL base of /artist linking to the wrong path in some cases

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/6/head
Qstick 5 years ago
parent 447bf63a4d
commit 9aa049fc04

@ -47,7 +47,7 @@ class Link extends Component {
el = 'a';
linkProps.href = to;
linkProps.target = target || '_self';
} else if (to.startsWith(window.Lidarr.urlBase)) {
} else if (to.startsWith(`${window.Lidarr.urlBase}/`)) {
el = RouterLink;
linkProps.to = to;
linkProps.target = target;

Loading…
Cancel
Save