From 6e488f45cdc237000250a8b39a7ee40d9e7ea14b Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Wed, 6 Mar 2024 19:26:40 +0300 Subject: [PATCH] [mobile] refactoring --- apps/documenteditor/mobile/src/page/main.jsx | 4 ++-- apps/presentationeditor/mobile/src/page/main.jsx | 4 ++-- apps/spreadsheeteditor/mobile/src/page/main.jsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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} + }