remove modal header on wizard

This commit is contained in:
Sarah Rambacher 2021-01-05 11:08:43 -05:00
parent ac65df58b8
commit c3a11434c4
2 changed files with 6 additions and 7 deletions

View file

@ -26,8 +26,9 @@ export const UserFederationKerberosWizard = () => {
return (
<Wizard
title={t("addKerberosWizardTitle")}
description={helpText("addKerberosWizardDescription")}
// Because this is an inline wizard, this title and description should be put into the page. Specifying them here causes the wizard component to make a header that would be used on a modal.
// title={t("addKerberosWizardTitle")}
// description={helpText("addKerberosWizardDescription")}
steps={steps}
/>
);

View file

@ -76,9 +76,6 @@ export const UserFederationLdapWizard = () => {
},
];
const title = t("addLdapWizardTitle");
const description = helpText("addLdapWizardDescription");
const footer = (
<WizardFooter>
<WizardContextConsumer>
@ -165,8 +162,9 @@ export const UserFederationLdapWizard = () => {
return (
<Wizard
title={title}
description={description}
// Because this is an inline wizard, this title and description should be put into the page. Specifying them here causes the wizard component to make a header that would be used on a modal.
// title={t("addLdapWizardTitle")}
// description={helpText("addLdapWizardDescription")}
height="100%"
steps={steps}
footer={footer}