Skip to content

Commit

Permalink
style(header): skal ikke vise knapp for lenker når array med lenker e…
Browse files Browse the repository at this point in the history
…r tom

Skal ikke vise knapp for lenker når array med lenker er tom
  • Loading branch information
gunnsteingarmo committed Sep 12, 2024
1 parent 24edc25 commit a940388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/familie-header/src/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const Header = ({
)}
<div style={{ marginLeft: 'auto' }} />
{children}
<LenkePopover lenker={eksterneLenker} />
{eksterneLenker.length > 0 && <LenkePopover lenker={eksterneLenker} />}
<Bruker
navn={brukerinfo.navn}
enhet={brukerinfo.enhet}
Expand Down

0 comments on commit a940388

Please sign in to comment.