diff --git a/frontend/src/_ui/Header/index.jsx b/frontend/src/_ui/Header/index.jsx index 2d3bca1893..a974f44c33 100644 --- a/frontend/src/_ui/Header/index.jsx +++ b/frontend/src/_ui/Header/index.jsx @@ -2,17 +2,23 @@ import React from 'react'; import cx from 'classnames'; import Breadcrumbs from '../Breadcrumbs'; import { OrganizationList } from '@/_components/OrganizationManager/List'; +import { authenticationService } from '@/_services'; function Header() { const currentVersion = localStorage.getItem('currentVersion'); const darkMode = localStorage.getItem('darkMode') === 'true'; const isSingleOrganization = window.public_config?.DISABLE_MULTI_WORKSPACE === 'true'; + const { organization } = authenticationService.currentUserValue; return (
- {!isSingleOrganization && } + {isSingleOrganization ? ( + {organization} + ) : ( + + )}