From ba17e05f6ccb552e9f1327fa8aeb8088af6ff5c8 Mon Sep 17 00:00:00 2001 From: nikolar Date: Wed, 18 Dec 2024 11:52:23 -0800 Subject: [PATCH] fix error with suggestion for showHeader and showSupport Signed-off-by: nikolar --- plugins/techdocs/src/home/components/TechDocsCustomHome.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/techdocs/src/home/components/TechDocsCustomHome.tsx b/plugins/techdocs/src/home/components/TechDocsCustomHome.tsx index 2dcf6aae80..b8998b8655 100644 --- a/plugins/techdocs/src/home/components/TechDocsCustomHome.tsx +++ b/plugins/techdocs/src/home/components/TechDocsCustomHome.tsx @@ -148,9 +148,9 @@ export const CustomDocsPanel = ({ return ( <> - {!!config.panelProps?.showHeader && ( + {(config.panelProps?.showHeader ?? true) && ( - {index === 0 && !!config.panelProps?.showSupport && ( + {index === 0 && (config.panelProps?.showSupport ?? true) && ( Discover documentation in your ecosystem.