[PE mobile] Correct disabling toolbar
This commit is contained in:
parent
f39be5e139
commit
dac85d6d0e
|
@ -126,7 +126,6 @@ class MainPage extends Component {
|
||||||
{!this.state.previewVisible ? null : <Preview onclosed={this.handleOptionsViewClosed.bind(this, 'preview')} />}
|
{!this.state.previewVisible ? null : <Preview onclosed={this.handleOptionsViewClosed.bind(this, 'preview')} />}
|
||||||
<Page name="home" className={`editor${ showLogo ? ' page-with-logo' : ''}`}>
|
<Page name="home" className={`editor${ showLogo ? ' page-with-logo' : ''}`}>
|
||||||
{/* Top Navbar */}
|
{/* Top Navbar */}
|
||||||
{config?.customization &&
|
|
||||||
<Navbar id='editor-navbar'
|
<Navbar id='editor-navbar'
|
||||||
className={`main-navbar${(!isBranding && showLogo) ? ' navbar-with-logo' : ''}`}>
|
className={`main-navbar${(!isBranding && showLogo) ? ' navbar-with-logo' : ''}`}>
|
||||||
{(!isBranding && showLogo) && <div className="main-logo" onClick={() => {
|
{(!isBranding && showLogo) && <div className="main-logo" onClick={() => {
|
||||||
|
@ -138,7 +137,6 @@ class MainPage extends Component {
|
||||||
<Search useSuspense={false}/>
|
<Search useSuspense={false}/>
|
||||||
</Subnavbar>
|
</Subnavbar>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
}
|
|
||||||
{/* Page content */}
|
{/* Page content */}
|
||||||
<View id="editor_sdk" />
|
<View id="editor_sdk" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue