chore: fixing header options

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-11-28 10:48:08 +01:00
parent 336af16ff0
commit 16942238cb
2 changed files with 7 additions and 0 deletions
@@ -142,6 +142,7 @@ export const Router = (props: PropsWithChildren<RouterProps>) => {
element={
<SecretsContextProvider>
<TemplateWizardPageComponent
headerOptions={props.headerOptions}
customFieldExtensions={fieldExtensions}
layouts={customLayouts}
components={{ ReviewStepComponent }}
@@ -50,6 +50,11 @@ export type TemplateWizardPageProps = {
};
layouts?: LayoutOptions[];
formProps?: FormProps;
headerOptions?: {
pageTitleOverride?: string;
title?: string;
subtitle?: string;
};
};
export const TemplateWizardPage = (props: TemplateWizardPageProps) => {
@@ -87,6 +92,7 @@ export const TemplateWizardPage = (props: TemplateWizardPageProps) => {
pageTitleOverride="Create a new component"
title="Create a new component"
subtitle="Create new software components using standard templates in your organization"
{...props.headerOptions}
/>
<Workflow
namespace={namespace}