Skip to content

Commit

Permalink
hotfix-header-uten-innhold (#2775)
Browse files Browse the repository at this point in the history
* ssb-hotfix

* reverts always showing header in panel dumb component

---------

Co-authored-by: Camilla Marie Dalan <[email protected]>
  • Loading branch information
HauklandJ and cammiida authored Dec 2, 2024
1 parent a569e79 commit 70ca6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/Panel/PanelComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const PanelComponent = ({ node }: IPanelProps) => {
)}
>
<Panel
title={<Lang id={textResourceBindings.title} />}
title={textResourceBindings.title ? <Lang id={textResourceBindings.title} /> : undefined}
showIcon={showIcon ?? true}
variant={variant ?? PANEL_VARIANT.Info}
forceMobileLayout={!fullWidth}
Expand Down

0 comments on commit 70ca6fb

Please sign in to comment.