fix(ui) - support check for live session
This commit is contained in:
parent
eadb738792
commit
fb084f8ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue