@@ -34,7 +34,7 @@ import history from "util/history";
3434import { useApplicationId } from "util/hooks" ;
3535import { canManageApp } from "util/permissionUtils" ;
3636import ProfileDropdown from "./profileDropdown" ;
37- import { Logo , LogoWithName } from "@lowcoder-ee/assets/images" ;
37+ import { Logo , LogoHome , LogoWithName } from "@lowcoder-ee/assets/images" ;
3838import { HeaderStartDropdown } from "./headerStartDropdown" ;
3939import { AppPermissionDialog } from "../../components/PermissionDialog/AppPermissionDialog" ;
4040import { getBrandingConfig } from "../../redux/selectors/configSelectors" ;
@@ -287,7 +287,9 @@ export default function Header(props: HeaderProps) {
287287 const headerStart = (
288288 < >
289289 < 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 /> }
291293 </ StyledLink >
292294 { editName ? (
293295 < Wrapper >
@@ -429,7 +431,9 @@ export function AppHeader() {
429431 const brandingConfig = useSelector ( getBrandingConfig ) ;
430432 const headerStart = (
431433 < 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 /> }
433437 </ StyledLink >
434438 ) ;
435439 const headerEnd = < HeaderProfile user = { user } /> ;
0 commit comments