Ensure correct options are displayed for 'Archive format' (#19914)
This commit is contained in:
parent
5cfa4bedfd
commit
3026d8fad2
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,7 @@ export const KeyForm = ({
|
||||||
const { cryptoInfo } = useServerInfo();
|
const { cryptoInfo } = useServerInfo();
|
||||||
const supportedKeystoreTypes = [
|
const supportedKeystoreTypes = [
|
||||||
...(cryptoInfo?.supportedKeystoreTypes ?? []),
|
...(cryptoInfo?.supportedKeystoreTypes ?? []),
|
||||||
...(hasPem ? CERT_PEM : []),
|
...(hasPem ? [CERT_PEM] : []),
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -99,6 +99,7 @@ export const KeyForm = ({
|
||||||
variant={SelectVariant.single}
|
variant={SelectVariant.single}
|
||||||
aria-label={t("archiveFormat")}
|
aria-label={t("archiveFormat")}
|
||||||
isOpen={openArchiveFormat}
|
isOpen={openArchiveFormat}
|
||||||
|
menuAppendTo="parent"
|
||||||
>
|
>
|
||||||
{supportedKeystoreTypes.map((option) => (
|
{supportedKeystoreTypes.map((option) => (
|
||||||
<SelectOption
|
<SelectOption
|
||||||
|
|
Loading…
Reference in a new issue