From 9aa049fc04a06db7072da74a2c65eda09940bcb2 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 26 Jun 2019 21:25:10 -0400 Subject: [PATCH] Fixed: URL base of /artist linking to the wrong path in some cases Co-Authored-By: Mark McDowall --- frontend/src/Components/Link/Link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/Link/Link.js b/frontend/src/Components/Link/Link.js index 7c7e85b49..b7487545c 100644 --- a/frontend/src/Components/Link/Link.js +++ b/frontend/src/Components/Link/Link.js @@ -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;