From 2b44d1b009efd0f15fd1fb2d4da564ebaeb6c679 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 2 Sep 2018 10:44:52 +0200 Subject: [PATCH] Fixed first item on aside menu only selected when in first page --- src/common/AsideMenu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/AsideMenu.js b/src/common/AsideMenu.js index ace7c5c0..339496fd 100644 --- a/src/common/AsideMenu.js +++ b/src/common/AsideMenu.js @@ -25,6 +25,7 @@ export default function AsideMenu({ selectedServer, className, showOnMobile }) { const asideClass = classnames('aside-menu', className, { 'aside-menu--hidden': !showOnMobile, }); + const shortUrlsIsActive = (match, location) => location.pathname.match('/list-short-urls'); return (