Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
@ -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;