From 0e849395aab06b3c05b609740ebc94cf3a5cd258 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 10 Mar 2021 13:44:13 +0100 Subject: navigating around, fix api filtering, add episode stats --- animism-align/frontend/app/views/nav/header.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/nav/header.component.js') diff --git a/animism-align/frontend/app/views/nav/header.component.js b/animism-align/frontend/app/views/nav/header.component.js index 8443278..4e43657 100644 --- a/animism-align/frontend/app/views/nav/header.component.js +++ b/animism-align/frontend/app/views/nav/header.component.js @@ -14,7 +14,7 @@ function Header(props) { return null } if (props.router.location.pathname.match("/editor")) { - const episode_id = props.router.location.pathname.split('/')[1] + const episode_id = props.router.location.pathname.split('/')[2] return (
-- cgit v1.2.3-70-g09d2