diff --git a/apps/admin-ui/src/clients/keys/SamlKeysDialog.tsx b/apps/admin-ui/src/clients/keys/SamlKeysDialog.tsx index d1a9fd41ee..bfde90f7d4 100644 --- a/apps/admin-ui/src/clients/keys/SamlKeysDialog.tsx +++ b/apps/admin-ui/src/clients/keys/SamlKeysDialog.tsx @@ -153,68 +153,66 @@ export const SamlKeysDialog = ({ , ]} > -
- - - - setType(false)} - label={t("selectMethodType.generate")} - id="selectMethodType-generate" - /> - - - setType(true)} - label={t("selectMethodType.import")} - id="selectMethodType-import" - /> - - - -
- {!type && ( -
+ + - } + label={t("selectMethod")} + fieldId="selectMethod" + hasNoPaddingTop > - - - - - - - - + + + setType(false)} + label={t("selectMethodType.generate")} + id="selectMethodType-generate" + /> + + + setType(true)} + label={t("selectMethodType.import")} + id="selectMethodType-import" + /> + + - )} - {type && ( - - - - )} + {!type && ( +
+ + } + > + + + + + + + + + +
+ )} + {type && } +
); };