Browse Source

disable header

pull/1/head
farhantock 10 months ago
parent
commit
283ef7e22c
  1. 7
      src/containers/DefaultLayout/DefaultLayout.js

7
src/containers/DefaultLayout/DefaultLayout.js

@ -269,9 +269,9 @@ class DefaultLayout extends Component {
return ( return (
<div className="app"> <div className="app">
<AppHeader fixed> {/* <AppHeader fixed>
<DefaultHeader /> <DefaultHeader />
</AppHeader> </AppHeader> */}
<div className="app-body"> <div className="app-body">
{!window.location.href.includes("dashboard-project") || renderSidebar ? ( {!window.location.href.includes("dashboard-project") || renderSidebar ? (
<AppSidebar minimized={this.state.minimized} fixed display="lg"> <AppSidebar minimized={this.state.minimized} fixed display="lg">
@ -339,7 +339,8 @@ class DefaultLayout extends Component {
</Suspense> </Suspense>
</AppAside> </AppAside>
</div> </div>
{!this.isKominfo ? {
!this.isKominfo ?
( (
<AppFooter> <AppFooter>
<Suspense fallback={this.loading()}> <Suspense fallback={this.loading()}>

Loading…
Cancel
Save