From fb084f8ed50f7b121201c990341e0e32e0d7df81 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 23 Aug 2022 15:11:15 +0200 Subject: [PATCH] fix(ui) - support check for live session --- frontend/app/Router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/Router.js b/frontend/app/Router.js index 04929d3bd..8bd3de882 100644 --- a/frontend/app/Router.js +++ b/frontend/app/Router.js @@ -170,7 +170,7 @@ class Router extends React.Component { const { isLoggedIn, jwt, siteId, sites, loading, changePassword, location, existingTenant, onboarding, isEnterprise } = this.props; const siteIdList = sites.map(({ id }) => id).toJS(); const hideHeader = (location.pathname && location.pathname.includes('/session/')) || location.pathname.includes('/assist/'); - const isPlayer = isRoute(SESSION_PATH, location.pathname); + const isPlayer = isRoute(SESSION_PATH, location.pathname) || isRoute(LIVE_SESSION_PATH, location.pathname); return isLoggedIn ? (