simplify idp create selector

This commit is contained in:
miloschwartz
2025-12-17 16:56:31 -05:00
parent 6f50fb8a4f
commit acf08e3ef6
2 changed files with 33 additions and 42 deletions

View File

@@ -331,19 +331,13 @@ export default function Page() {
</form>
</Form>
</SettingsSectionForm>
</SettingsSectionBody>
</SettingsSection>
<SettingsSection>
<SettingsSectionHeader>
<SettingsSectionTitle>
<div>
<div className="mb-2">
<span className="text-sm font-medium">
{t("idpType")}
</SettingsSectionTitle>
<SettingsSectionDescription>
{t("idpTypeDescription")}
</SettingsSectionDescription>
</SettingsSectionHeader>
<SettingsSectionBody>
</span>
</div>
<StrategySelect
options={providerTypes}
defaultValue={form.getValues("type")}
@@ -354,6 +348,7 @@ export default function Page() {
}}
cols={3}
/>
</div>
</SettingsSectionBody>
</SettingsSection>

View File

@@ -208,19 +208,14 @@ export default function Page() {
</form>
</Form>
</SettingsSectionForm>
</SettingsSectionBody>
</SettingsSection>
<SettingsSection>
<SettingsSectionHeader>
<SettingsSectionTitle>
<div>
<div className="mb-2">
<span className="text-sm font-medium">
{t("idpType")}
</SettingsSectionTitle>
<SettingsSectionDescription>
{t("idpTypeDescription")}
</SettingsSectionDescription>
</SettingsSectionHeader>
<SettingsSectionBody>
</span>
</div>
<StrategySelect
options={providerTypes}
defaultValue={form.getValues("type")}
@@ -229,6 +224,7 @@ export default function Page() {
}}
cols={3}
/>
</div>
</SettingsSectionBody>
</SettingsSection>