mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[all] for bug 53110
This commit is contained in:
@ -89,7 +89,7 @@ class MainPage extends Component {
|
||||
|
||||
let showLogo = !(appOptions.canBrandingExt && (config.customization && (config.customization.loaderName || config.customization.loaderLogo)));
|
||||
if ( !Object.keys(config).length ) {
|
||||
showLogo = !/&(?:customer|logo)=/.test(window.location.search);
|
||||
showLogo = !/&(?:logo)=/.test(window.location.search);
|
||||
}
|
||||
|
||||
const showPlaceholder = !appOptions.isDocReady && (!config.customization || !(config.customization.loaderName || config.customization.loaderLogo));
|
||||
|
||||
@ -95,7 +95,7 @@ class MainPage extends Component {
|
||||
|
||||
let showLogo = !(appOptions.canBrandingExt && (config.customization && (config.customization.loaderName || config.customization.loaderLogo)));
|
||||
if ( !Object.keys(config).length ) {
|
||||
showLogo = !/&(?:customer|logo)=/.test(window.location.search);
|
||||
showLogo = !/&(?:logo)=/.test(window.location.search);
|
||||
}
|
||||
|
||||
const showPlaceholder = !appOptions.isDocReady && (!config.customization || !(config.customization.loaderName || config.customization.loaderLogo));
|
||||
|
||||
@ -92,7 +92,7 @@ class MainPage extends Component {
|
||||
|
||||
let showLogo = !(appOptions.canBrandingExt && (config.customization && (config.customization.loaderName || config.customization.loaderLogo)));
|
||||
if ( !Object.keys(config).length ) {
|
||||
showLogo = !/&(?:customer|logo)=/.test(window.location.search);
|
||||
showLogo = !/&(?:logo)=/.test(window.location.search);
|
||||
}
|
||||
|
||||
const showPlaceholder = !appOptions.isDocReady && (!config.customization || !(config.customization.loaderName || config.customization.loaderLogo));
|
||||
|
||||
Reference in New Issue
Block a user