fix error with suggestion for showHeader and showSupport

Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
This commit is contained in:
nikolar
2024-12-18 11:52:23 -08:00
parent 4c5df2c59f
commit ba17e05f6c
@@ -148,9 +148,9 @@ export const CustomDocsPanel = ({
return (
<>
{!!config.panelProps?.showHeader && (
{(config.panelProps?.showHeader ?? true) && (
<ContentHeader title={config.title} description={config.description}>
{index === 0 && !!config.panelProps?.showSupport && (
{index === 0 && (config.panelProps?.showSupport ?? true) && (
<SupportButton>
Discover documentation in your ecosystem.
</SupportButton>