1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed: '/movie' URL Base breaking UI navigation

This commit is contained in:
bakerboy448
2020-12-22 12:36:01 -06:00
committed by Qstick
parent 3ab9af0663
commit 140547e42a
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -47,10 +47,6 @@ class Link extends Component {
el = 'a';
linkProps.href = to;
linkProps.target = target || '_self';
} else if (to.startsWith(`${window.Radarr.urlBase}/`)) {
el = RouterLink;
linkProps.to = to;
linkProps.target = target;
} else {
el = RouterLink;
linkProps.to = `${window.Radarr.urlBase}/${to.replace(/^\//, '')}`;