Fix refresh issues on PKI Inventory table

This commit is contained in:
Carlos Monastyrski
2025-11-17 10:47:38 -03:00
parent a282498fb5
commit 9263c1a23d
4 changed files with 25 additions and 7 deletions
@@ -54,6 +54,7 @@ export const CertificateRevocationModal = ({ popUp, handlePopUpToggle }: Props)
await revokeCertificate({
projectSlug: currentProject.slug,
projectId: currentProject.id,
serialNumber,
revocationReason
});
@@ -42,7 +42,11 @@ export const CertificatesSection = () => {
const onRemoveCertificateSubmit = async (serialNumber: string) => {
if (!currentProject?.slug) return;
await deleteCert({ serialNumber, projectSlug: currentProject.slug });
await deleteCert({
serialNumber,
projectSlug: currentProject.slug,
projectId: currentProject.id
});
createNotification({
text: "Successfully deleted certificate",