diff --git a/js/apps/admin-ui/src/clients/keys/GenerateKeyDialog.tsx b/js/apps/admin-ui/src/clients/keys/GenerateKeyDialog.tsx index 231c5d5f81..4d2237bcaa 100644 --- a/js/apps/admin-ui/src/clients/keys/GenerateKeyDialog.tsx +++ b/js/apps/admin-ui/src/clients/keys/GenerateKeyDialog.tsx @@ -68,7 +68,7 @@ export const KeyForm = ({ const { cryptoInfo } = useServerInfo(); const supportedKeystoreTypes = [ ...(cryptoInfo?.supportedKeystoreTypes ?? []), - ...(hasPem ? CERT_PEM : []), + ...(hasPem ? [CERT_PEM] : []), ]; return ( @@ -99,6 +99,7 @@ export const KeyForm = ({ variant={SelectVariant.single} aria-label={t("archiveFormat")} isOpen={openArchiveFormat} + menuAppendTo="parent" > {supportedKeystoreTypes.map((option) => (