This commit is contained in:
Vladislav Makhov 2020-07-24 14:49:01 +03:00
parent 53cb292fa9
commit 749702248d

View File

@ -75,7 +75,6 @@ class Layout extends React.Component {
const newState = {
isBackdropAvailable: mainModules.length > 0 || !!props.asideContent,
isHeaderNavAvailable: isolateModules.length > 0 || !!props.currentUser,
//isHeaderAvailable: mainModules.length > 0,
isNavAvailable: mainModules.length > 0,
isAsideAvailable: !!props.asideContent,
@ -161,8 +160,8 @@ class Layout extends React.Component {
isAuthKey = localStorage.getItem("asc_auth_key") ? true : false;
render() {
//console.log("Layout render");
//const isAuthKey = localStorage.getItem("asc_auth_key") ? true : false;
return (
<>