Fix Bug 69623 - [LDAP] Error t is not a function after confirming the use of a certificate from an LDAP server
This commit is contained in:
parent
9565631a85
commit
74d72b3b70
@ -71,16 +71,6 @@ const ButtonContainer = ({
|
||||
(!isLdapEnabled || isUIDisabled || !hasChanges) && !hasProgressError;
|
||||
const resetDisabled = !isLdapEnabled || isUIDisabled || isDefaultSettings;
|
||||
|
||||
console.log("ButtonContainer", {
|
||||
isLdapEnabled,
|
||||
isUIDisabled,
|
||||
hasChanges,
|
||||
isDefaultSettings,
|
||||
|
||||
saveDisabled,
|
||||
resetDisabled,
|
||||
});
|
||||
|
||||
return (
|
||||
<Box className="ldap_buttons-container">
|
||||
<SaveCancelButtons
|
||||
|
@ -59,7 +59,7 @@ const CertificateDialog = ({
|
||||
const onSaveAction = useCallback((e) => {
|
||||
setAcceptCertificate(true);
|
||||
setAcceptCertificateHash(cerficateIssue.uniqueHash);
|
||||
save();
|
||||
save(t);
|
||||
setCertificateDialogVisible(false);
|
||||
}, []);
|
||||
|
||||
@ -140,8 +140,10 @@ const CertificateDialog = ({
|
||||
</Box>
|
||||
{hasError && (
|
||||
<Box>
|
||||
{cerficateIssue.errors.map((err) => (
|
||||
<Text color="#F24724">{mapError(err)}</Text>
|
||||
{cerficateIssue.errors.map((err, index) => (
|
||||
<Text color="#F24724" key={`err-${index}`}>
|
||||
{mapError(err)}
|
||||
</Text>
|
||||
))}
|
||||
</Box>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user