mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 01:06:39 +00:00
simplify idp create selector
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user