Skip to content

Commit

Permalink
fix(Header): テナント切り替えの表示を旧レイアウトに絞る
Browse files Browse the repository at this point in the history
  • Loading branch information
uknmr committed Nov 14, 2024
1 parent 593f935 commit fab4757
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packages/smarthr-ui/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,15 @@ export const Header: React.FC<PropsWithChildren<Props> & ElementProps> = ({
<a href={logoHref} className={logoLink()}>
{logo}
</a>
{enableNew && featureName && (
<AppLauncher
apps={apps}
enableNew={enableNew}
decorators={{ triggerLabel: () => featureName }}
/>
)}
{currentTenantName && <div className={tenantInfoStyle()}>{tenantInfo}</div>}
{enableNew
? featureName && (
<AppLauncher
apps={apps}
enableNew={enableNew}
decorators={{ triggerLabel: () => featureName }}
/>
)
: currentTenantName && <div className={tenantInfoStyle()}>{tenantInfo}</div>}
</Cluster>
<Cluster
align="center"
Expand Down

0 comments on commit fab4757

Please sign in to comment.