fix(ui) - support check for live session

This commit is contained in:
Shekar Siri 2022-08-23 15:11:15 +02:00
parent eadb738792
commit fb084f8ed5

View file

@ -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 ? (
<ModalProvider>