Refactor
This commit is contained in:
parent
53cb292fa9
commit
749702248d
@ -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 (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user