Browse Source

disable header

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

23
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,16 +339,17 @@ class DefaultLayout extends Component {
</Suspense> </Suspense>
</AppAside> </AppAside>
</div> </div>
{!this.isKominfo ? {
( !this.isKominfo ?
<AppFooter> (
<Suspense fallback={this.loading()}> <AppFooter>
<DefaultFooter /> <Suspense fallback={this.loading()}>
</Suspense> <DefaultFooter />
</AppFooter> </Suspense>
) : null </AppFooter>
) : null
} }
</div> </div >
); );
} }
} }

Loading…
Cancel
Save