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

View File

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