From 70ca6fbbd02b7dabb3a404ed72ca1d1b3dd49af8 Mon Sep 17 00:00:00 2001 From: Johannes Haukland <42615991+HauklandJ@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:57:27 +0100 Subject: [PATCH] hotfix-header-uten-innhold (#2775) * ssb-hotfix * reverts always showing header in panel dumb component --------- Co-authored-by: Camilla Marie Dalan --- src/layout/Panel/PanelComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/Panel/PanelComponent.tsx b/src/layout/Panel/PanelComponent.tsx index c8f3eb90c..6a5bf6979 100644 --- a/src/layout/Panel/PanelComponent.tsx +++ b/src/layout/Panel/PanelComponent.tsx @@ -44,7 +44,7 @@ export const PanelComponent = ({ node }: IPanelProps) => { )} > } + title={textResourceBindings.title ? : undefined} showIcon={showIcon ?? true} variant={variant ?? PANEL_VARIANT.Info} forceMobileLayout={!fullWidth}