api-docs: hide page header in NFS
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -79,6 +79,7 @@ const apiDocsExplorerPage = PageBlueprint.makeWithOverrides({
|
||||
loader: () =>
|
||||
import('./components/ApiExplorerPage').then(m => (
|
||||
<m.ApiExplorerIndexPage
|
||||
noHeader
|
||||
initiallySelectedFilter={config.initiallySelectedFilter}
|
||||
/>
|
||||
)),
|
||||
|
||||
@@ -65,6 +65,7 @@ export type DefaultApiExplorerPageProps = {
|
||||
actions?: TableProps<CatalogTableRow>['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}
|
||||
>
|
||||
<Content>
|
||||
<ContentHeader title="">
|
||||
|
||||
Reference in New Issue
Block a user