@@ -34,7 +34,7 @@ import history from "util/history";
34
34
import { useApplicationId } from "util/hooks" ;
35
35
import { canManageApp } from "util/permissionUtils" ;
36
36
import ProfileDropdown from "./profileDropdown" ;
37
- import { Logo , LogoWithName } from "@lowcoder-ee/assets/images" ;
37
+ import { Logo , LogoHome , LogoWithName } from "@lowcoder-ee/assets/images" ;
38
38
import { HeaderStartDropdown } from "./headerStartDropdown" ;
39
39
import { AppPermissionDialog } from "../../components/PermissionDialog/AppPermissionDialog" ;
40
40
import { getBrandingConfig } from "../../redux/selectors/configSelectors" ;
@@ -287,7 +287,9 @@ export default function Header(props: HeaderProps) {
287
287
const headerStart = (
288
288
< >
289
289
< StyledLink onClick = { ( ) => history . push ( ALL_APPLICATIONS_URL ) } >
290
- < LogoIcon />
290
+ { LOWCODER_SHOW_BRAND === 'true' ?
291
+ LOWCODER_CUSTOM_LOGO_SQUARE !== "" ? < img src = { LOWCODER_CUSTOM_LOGO_SQUARE } height = { 24 } width = { 24 } alt = "logo" /> :< LogoIcon /> :
292
+ < LogoHome /> }
291
293
</ StyledLink >
292
294
{ editName ? (
293
295
< Wrapper >
@@ -429,7 +431,9 @@ export function AppHeader() {
429
431
const brandingConfig = useSelector ( getBrandingConfig ) ;
430
432
const headerStart = (
431
433
< StyledLink onClick = { ( ) => history . push ( ALL_APPLICATIONS_URL ) } >
432
- < LogoWithName branding = { ! user . orgDev } />
434
+ { LOWCODER_SHOW_BRAND === 'true' ?
435
+ LOWCODER_CUSTOM_LOGO !== "" ? < img src = { LOWCODER_CUSTOM_LOGO } height = { 28 } alt = "logo" /> :< LogoWithName branding = { ! user . orgDev } /> :
436
+ < LogoHome /> }
433
437
</ StyledLink >
434
438
) ;
435
439
const headerEnd = < HeaderProfile user = { user } /> ;
0 commit comments