From 4449136abd8a4a674fb86634e8d12cd46bb00fb5 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 12 Feb 2026 13:10:46 +0100 Subject: [PATCH] api-docs: hide page header in NFS Signed-off-by: Patrik Oldsberg --- plugins/api-docs/src/alpha.tsx | 1 + .../src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/api-docs/src/alpha.tsx b/plugins/api-docs/src/alpha.tsx index 44ded088f1..6ab8953dd4 100644 --- a/plugins/api-docs/src/alpha.tsx +++ b/plugins/api-docs/src/alpha.tsx @@ -79,6 +79,7 @@ const apiDocsExplorerPage = PageBlueprint.makeWithOverrides({ loader: () => import('./components/ApiExplorerPage').then(m => ( )), diff --git a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx index 625fdbe31c..0b6239910b 100644 --- a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx +++ b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx @@ -65,6 +65,7 @@ export type DefaultApiExplorerPageProps = { actions?: TableProps['actions']; ownerPickerMode?: EntityOwnerPickerProps['mode']; pagination?: EntityListPagination; + noHeader?: boolean; }; /** @@ -96,6 +97,7 @@ export const DefaultApiExplorerPage = (props: DefaultApiExplorerPageProps) => { title={t('defaultApiExplorerPage.title')} subtitle={generatedSubtitle} pageTitleOverride={t('defaultApiExplorerPage.pageTitleOverride')} + noHeader={props.noHeader} >