Skip to content

Commit

Permalink
[all] added option for customization
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Feb 1, 2024
1 parent 028d067 commit 4420ff9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/documenteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV
isBranding = true;

if(!appOptions.isDisconnected && config?.customization) {
isCustomization = !!(config.customization.loaderName || config.customization.loaderLogo);
isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo);
isBranding = appOptions.canBranding || appOptions.canBrandingExt;
isHideLogo = isCustomization && isBranding;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/presentationeditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class MainPage extends Component {
isBranding = true;

if (!appOptions.isDisconnected && config?.customization) {
isCustomization = !!(config.customization.loaderName || config.customization.loaderLogo);
isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo);
isBranding = appOptions.canBranding || appOptions.canBrandingExt;
isHideLogo = isCustomization && isBranding;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class MainPage extends Component {
isBranding = true;

if (!appOptions.isDisconnected && config?.customization) {
isCustomization = !!(config.customization.loaderName || config.customization.loaderLogo);
isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo);
isBranding = appOptions.canBranding || appOptions.canBrandingExt;
isHideLogo = isCustomization && isBranding;
}
Expand Down

0 comments on commit 4420ff9

Please sign in to comment.