From 8ce52fe39e8e3cd2ea490f470a7bfb68b348e52e Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Mon, 28 Jul 2025 02:08:01 +0530 Subject: [PATCH] fix: Updating the logo in App editor to use branding logo instead (#41135) ## Description Updating the logo in App editor to use branding logo instead. Fixes [#41134](https://github.com/appsmithorg/appsmith/issues/41134) ## Automation /ok-to-test tags="@tag.Sanity" ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No --- app/client/src/pages/Editor/AppsmithLink.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/client/src/pages/Editor/AppsmithLink.tsx b/app/client/src/pages/Editor/AppsmithLink.tsx index e0d63e59db..a92f2097fd 100644 --- a/app/client/src/pages/Editor/AppsmithLink.tsx +++ b/app/client/src/pages/Editor/AppsmithLink.tsx @@ -5,6 +5,8 @@ import { LOGO_TOOLTIP, createMessage } from "ee/constants/messages"; import { APPLICATIONS_URL } from "constants/routes"; import AppsmithLogo from "assets/images/appsmith_logo_square.png"; import history from "utils/history"; +import { useSelector } from "react-redux"; +import { getOrganizationConfig } from "ee/selectors/organizationSelectors"; export const StyledLink = styled((props) => { // we are removing non input related props before passing them in the components @@ -20,10 +22,13 @@ export const StyledLink = styled((props) => { min-width: 24px; width: 24px; height: 24px; + object-fit: contain; } `; export const AppsmithLink = () => { + const organizationConfig = useSelector(getOrganizationConfig); + const handleOnClick = useCallback( (e: React.MouseEvent) => { e.stopPropagation(); @@ -43,7 +48,11 @@ export const AppsmithLink = () => { Appsmith logo