Fix realm settings events tests (#2144)

This commit is contained in:
Jon Koops 2022-02-24 12:44:40 +01:00 committed by GitHub
parent 36bb8e2ecd
commit 07098c3f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,16 +73,16 @@ export const RSAGeneratedForm = ({
serverInfo.componentTypes?.[KEY_PROVIDER_TYPE] ?? []; serverInfo.componentTypes?.[KEY_PROVIDER_TYPE] ?? [];
const rsaGeneratedKeySizeOptions = const rsaGeneratedKeySizeOptions =
allComponentTypes[6].properties[3].options!; allComponentTypes[6].properties[3].options ?? [];
const rsaGeneratedAlgorithmOptions = const rsaGeneratedAlgorithmOptions =
allComponentTypes[6].properties[4].options!; allComponentTypes[6].properties[4].options ?? [];
const rsaEncGeneratedKeySizeOptions = const rsaEncGeneratedKeySizeOptions =
allComponentTypes[5].properties[3].options!; allComponentTypes[5].properties[3].options ?? [];
const rsaEncGeneratedAlgorithmOptions = const rsaEncGeneratedAlgorithmOptions =
allComponentTypes[5].properties[4].options!; allComponentTypes[5].properties[4].options ?? [];
const save = async (component: ComponentRepresentation) => { const save = async (component: ComponentRepresentation) => {
try { try {