mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-23 19:55:09 -04: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:
1 parent
447bf63a4d
commit
9aa049fc04
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user