fixed key (#1345)
This commit is contained in:
parent
60347f0234
commit
8f34e4a3e6
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
import React, { useState } from "react";
|
import React, { Fragment, useState } from "react";
|
||||||
import FileSaver from "file-saver";
|
import FileSaver from "file-saver";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Controller, useFormContext } from "react-hook-form";
|
import { Controller, useFormContext } from "react-hook-form";
|
||||||
|
@ -230,7 +230,7 @@ export const SamlKeys = ({ clientId, save }: SamlKeysProps) => {
|
||||||
<DisableConfirm />
|
<DisableConfirm />
|
||||||
<ReGenerateConfirm />
|
<ReGenerateConfirm />
|
||||||
{KEYS.map((attr, index) => (
|
{KEYS.map((attr, index) => (
|
||||||
<>
|
<Fragment key={attr}>
|
||||||
{openImport && (
|
{openImport && (
|
||||||
<SamlImportKeyDialog
|
<SamlImportKeyDialog
|
||||||
id={clientId}
|
id={clientId}
|
||||||
|
@ -239,7 +239,6 @@ export const SamlKeys = ({ clientId, save }: SamlKeysProps) => {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<KeySection
|
<KeySection
|
||||||
key={attr}
|
|
||||||
keyInfo={keyInfo?.[index]}
|
keyInfo={keyInfo?.[index]}
|
||||||
attr={attr}
|
attr={attr}
|
||||||
onChanged={setIsChanged}
|
onChanged={setIsChanged}
|
||||||
|
@ -253,7 +252,7 @@ export const SamlKeys = ({ clientId, save }: SamlKeysProps) => {
|
||||||
}}
|
}}
|
||||||
onImport={() => setImportOpen(true)}
|
onImport={() => setImportOpen(true)}
|
||||||
/>
|
/>
|
||||||
</>
|
</Fragment>
|
||||||
))}
|
))}
|
||||||
</PageSection>
|
</PageSection>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue