fix error with suggestion for showHeader and showSupport
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user