diff --git a/frontend/components/top_nav/SiteTopNav/SiteTopNav.tsx b/frontend/components/top_nav/SiteTopNav/SiteTopNav.tsx index 727da40f34..12b81e710b 100644 --- a/frontend/components/top_nav/SiteTopNav/SiteTopNav.tsx +++ b/frontend/components/top_nav/SiteTopNav/SiteTopNav.tsx @@ -137,7 +137,7 @@ const SiteTopNav = ({ const renderNavItem = (navItem: INavItem) => { const { name, iconName, withParams } = navItem; - const orgLogoURL = config.org_info.org_logo_url; + const orgLogoURL = config.org_info.org_logo_url_light_background; const active = navItem.location.regex.test(currentPath); const navItemBaseClass = "site-nav-item"; diff --git a/frontend/interfaces/host.ts b/frontend/interfaces/host.ts index 3380b6095b..8ba59655ce 100644 --- a/frontend/interfaces/host.ts +++ b/frontend/interfaces/host.ts @@ -199,6 +199,7 @@ export interface IDeviceUserResponse { host: IHostDevice; license: ILicense; org_logo_url: string; + org_logo_url_light_background: string; org_contact_url: string; disk_encryption_enabled?: boolean; platform?: HostPlatform; diff --git a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx index bedde9514b..7b9637dba9 100644 --- a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx +++ b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx @@ -308,7 +308,7 @@ const DeviceUserPage = ({ const { host, license, - org_logo_url: orgLogoURL = "", + org_logo_url_light_background: orgLogoURL = "", org_contact_url: orgContactURL = "", global_config: globalConfig = null as IDeviceGlobalConfig | null, self_service: hasSelfService = false, diff --git a/frontend/test/handlers/device-handler.ts b/frontend/test/handlers/device-handler.ts index 4a536de9c6..61dee8150e 100644 --- a/frontend/test/handlers/device-handler.ts +++ b/frontend/test/handlers/device-handler.ts @@ -21,6 +21,7 @@ export const defaultDeviceHandler = http.get(baseUrl("/device/:token"), () => { host: createMockHost(), license: createMockLicense(), org_logo_url: "", + org_logo_url_light_background: "", global_config: { mdm: { enabled_and_configured: false }, }, @@ -35,6 +36,7 @@ export const customDeviceHandler = (overrides?: Partial) => host: createMockHost(), license: createMockLicense(), org_logo_url: "", + org_logo_url_light_background: "", global_config: { mdm: { enabled_and_configured: false }, },