File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
app/client/src/pages/Editor Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { LOGO_TOOLTIP, createMessage } from "ee/constants/messages";
55import { APPLICATIONS_URL } from "constants/routes" ;
66import AppsmithLogo from "assets/images/appsmith_logo_square.png" ;
77import history from "utils/history" ;
8+ import { useSelector } from "react-redux" ;
9+ import { getOrganizationConfig } from "ee/selectors/organizationSelectors" ;
810
911export const StyledLink = styled ( ( props ) => {
1012 // we are removing non input related props before passing them in the components
@@ -24,6 +26,8 @@ export const StyledLink = styled((props) => {
2426` ;
2527
2628export const AppsmithLink = ( ) => {
29+ const organizationConfig = useSelector ( getOrganizationConfig ) ;
30+
2731 const handleOnClick = useCallback (
2832 ( e : React . MouseEvent < HTMLAnchorElement > ) => {
2933 e . stopPropagation ( ) ;
@@ -43,7 +47,11 @@ export const AppsmithLink = () => {
4347 < img
4448 alt = "Appsmith logo"
4549 className = "t--appsmith-logo"
46- src = { AppsmithLogo }
50+ src = {
51+ organizationConfig . brandLogoUrl
52+ ? organizationConfig . brandLogoUrl
53+ : AppsmithLogo
54+ }
4755 />
4856 </ StyledLink >
4957 </ Tooltip >
You can’t perform that action at this time.
0 commit comments