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 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) => (
|
||||
<SelectOption
|
||||
|
|
Loading…
Reference in a new issue