mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
Fix UI
This commit is contained in:
Vendored
+1
@@ -7,6 +7,7 @@ declare global {
|
|||||||
POSTHOG_API_KEY?: string;
|
POSTHOG_API_KEY?: string;
|
||||||
INTERCOM_ID?: string;
|
INTERCOM_ID?: string;
|
||||||
TELEMETRY_CAPTURING_ENABLED: string;
|
TELEMETRY_CAPTURING_ENABLED: string;
|
||||||
|
ACME_FEATURE_ENABLED?: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
@@ -113,6 +113,7 @@ export const CertificateProfilesTab = () => {
|
|||||||
mode="edit"
|
mode="edit"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{selectedProfile.enrollmentType === "acme" && (
|
||||||
<RevealAcmeEabSecretModal
|
<RevealAcmeEabSecretModal
|
||||||
isOpen={isRevealProfileAcmeEabSecretModalOpen}
|
isOpen={isRevealProfileAcmeEabSecretModalOpen}
|
||||||
onClose={() => {
|
onClose={() => {
|
||||||
@@ -121,6 +122,7 @@ export const CertificateProfilesTab = () => {
|
|||||||
}}
|
}}
|
||||||
profile={selectedProfile}
|
profile={selectedProfile}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
<DeleteActionModal
|
<DeleteActionModal
|
||||||
isOpen={isDeleteModalOpen}
|
isOpen={isDeleteModalOpen}
|
||||||
|
|||||||
-1
@@ -26,7 +26,6 @@ export const RevealAcmeEabSecretModal = ({ isOpen, onClose, profile }: Props) =>
|
|||||||
const [isEabSecretCopied, setIsEabSecretCopied] = useToggle(false);
|
const [isEabSecretCopied, setIsEabSecretCopied] = useToggle(false);
|
||||||
const revealAcmeEabSecret = useRevealAcmeEabSecret({ profileId: profile.id });
|
const revealAcmeEabSecret = useRevealAcmeEabSecret({ profileId: profile.id });
|
||||||
const { data, isLoading, isError, error } = revealAcmeEabSecret;
|
const { data, isLoading, isError, error } = revealAcmeEabSecret;
|
||||||
|
|
||||||
const { directoryUrl } = profile.acmeConfig!;
|
const { directoryUrl } = profile.acmeConfig!;
|
||||||
const { eabKid, eabSecret } = data ?? { eabKid: "", eabSecret: "" };
|
const { eabKid, eabSecret } = data ?? { eabKid: "", eabSecret: "" };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user