mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 21:42:16 -07:00
Fixed: URL base of /artist linking to the wrong path in some cases
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
447bf63a4d
commit
9aa049fc04
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Link extends Component {
|
||||||
el = 'a';
|
el = 'a';
|
||||||
linkProps.href = to;
|
linkProps.href = to;
|
||||||
linkProps.target = target || '_self';
|
linkProps.target = target || '_self';
|
||||||
} else if (to.startsWith(window.Lidarr.urlBase)) {
|
} else if (to.startsWith(`${window.Lidarr.urlBase}/`)) {
|
||||||
el = RouterLink;
|
el = RouterLink;
|
||||||
linkProps.to = to;
|
linkProps.to = to;
|
||||||
linkProps.target = target;
|
linkProps.target = target;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue