diff --git a/packages/smarthr-ui/src/components/Header/Header.tsx b/packages/smarthr-ui/src/components/Header/Header.tsx index aeb8e32489..a48abf6df0 100644 --- a/packages/smarthr-ui/src/components/Header/Header.tsx +++ b/packages/smarthr-ui/src/components/Header/Header.tsx @@ -117,14 +117,15 @@ export const Header: React.FC & ElementProps> = ({ {logo} - {enableNew && featureName && ( - featureName }} - /> - )} - {currentTenantName &&
{tenantInfo}
} + {enableNew + ? featureName && ( + featureName }} + /> + ) + : currentTenantName &&
{tenantInfo}
}