diff --git a/apps/documenteditor/mobile/src/page/main.jsx b/apps/documenteditor/mobile/src/page/main.jsx index 56627809b0..a9f85d356a 100644 --- a/apps/documenteditor/mobile/src/page/main.jsx +++ b/apps/documenteditor/mobile/src/page/main.jsx @@ -237,7 +237,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV }}> - {!isHideLogo ? + {!isHideLogo &&
{ window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank"); }}> @@ -247,7 +247,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV }
- : null} + } {/* Top Navbar */} - {!isHideLogo ? + {!isHideLogo &&
{ window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank"); }}> @@ -173,7 +173,7 @@ class MainPage extends Component { }
- : null} + } {/* Top Navbar */} - {!isHideLogo ? + {!isHideLogo &&
{ window.open(`${customLogoImage && customLogoUrl ? customLogoUrl : __PUBLISHER_URL__}`, "_blank"); }}> @@ -168,7 +168,7 @@ class MainPage extends Component { }
- : null} + }