[DE SSE mobile] Removed the config check

This commit is contained in:
SergeyEzhin 2022-12-09 15:56:52 +04:00
parent 7fc21ceb52
commit f564b2c94a
2 changed files with 25 additions and 29 deletions

View file

@ -157,7 +157,6 @@ class MainPage extends Component {
return (
<Page name="home" className={`editor${showLogo ? ' page-with-logo' : ''}`}>
{/* Top Navbar */}
{config?.customization &&
<Navbar id='editor-navbar'
className={`main-navbar${(!isBranding && showLogo) ? ' navbar-with-logo' : ''}`}>
{(!isBranding && showLogo) &&
@ -170,8 +169,6 @@ class MainPage extends Component {
<Search useSuspense={false}/>
</Subnavbar>
</Navbar>
}
{/* Page content */}

View file

@ -122,7 +122,6 @@ class MainPage extends Component {
return (
<Page name="home" className={`editor${ showLogo ? ' page-with-logo' : ''}`}>
{/* Top Navbar */}
{config?.customization &&
<Navbar id='editor-navbar'
className={`main-navbar${(!isBranding && showLogo) ? ' navbar-with-logo' : ''}`}>
{(!isBranding && showLogo) && <div className="main-logo" onClick={() => {
@ -134,7 +133,7 @@ class MainPage extends Component {
<Search useSuspense={false}/>
</Subnavbar>
</Navbar>
}
<CellEditor onClickToOpenAddOptions={(panels, button) => this.handleClickToOpenOptions('add', {panels: panels, button: button})}/>
{/* Page content */}
<View id="editor_sdk" />