Skip to content

Commit

Permalink
[mobile] refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Mar 6, 2024
1 parent 4d24093 commit 6e488f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/documenteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV
}}>
<Page name="home" className={`editor${!isHideLogo ? ' page-with-logo' : ''}`}>
<Navbar id='editor-navbar' className={`main-navbar${!isHideLogo ? ' navbar-with-logo' : ''}`}>
{!isHideLogo ?
{!isHideLogo &&
<div className="main-logo" onClick={() => {
window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank");
}}>
Expand All @@ -247,7 +247,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV
<Icon icon="icon-logo"></Icon>
}
</div>
: null}
}
<Subnavbar>
<ToolbarController
openOptions={handleClickToOpenOptions}
Expand Down
4 changes: 2 additions & 2 deletions apps/presentationeditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class MainPage extends Component {
<Page name="home" className={`editor${!isHideLogo ? ' page-with-logo' : ''}`}>
{/* Top Navbar */}
<Navbar id='editor-navbar' className={`main-navbar${!isHideLogo ? ' navbar-with-logo' : ''}`}>
{!isHideLogo ?
{!isHideLogo &&
<div className="main-logo" onClick={() => {
window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank");
}}>
Expand All @@ -173,7 +173,7 @@ class MainPage extends Component {
<Icon icon="icon-logo"></Icon>
}
</div>
: null}
}
<Subnavbar>
<Toolbar
openOptions={this.handleClickToOpenOptions}
Expand Down
4 changes: 2 additions & 2 deletions apps/spreadsheeteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class MainPage extends Component {
<Page name="home" className={`editor${!isHideLogo ? ' page-with-logo' : ''}`}>
{/* Top Navbar */}
<Navbar id='editor-navbar' className={`main-navbar${!isHideLogo ? ' navbar-with-logo' : ''}`}>
{!isHideLogo ?
{!isHideLogo &&
<div className="main-logo" onClick={() => {
window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank");
}}>
Expand All @@ -168,7 +168,7 @@ class MainPage extends Component {
<Icon icon="icon-logo"></Icon>
}
</div>
: null}
}
<Subnavbar>
<Toolbar
openOptions={this.handleClickToOpenOptions}
Expand Down

0 comments on commit 6e488f4

Please sign in to comment.