Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: types

Daniel Hougaard4e0b41269742
diff --git a/frontend/src/pages/secret-manager/IntegrationsListPage/components/SecretSyncsTab/SecretSyncTable/helpers/index.ts b/frontend/src/pages/secret-manager/IntegrationsListPage/components/SecretSyncsTab/SecretSyncTable/helpers/index.ts
index 2801c692ca..98581f0483 100644
--- a/frontend/src/pages/secret-manager/IntegrationsListPage/components/SecretSyncsTab/SecretSyncTable/helpers/index.ts
+++ b/frontend/src/pages/secret-manager/IntegrationsListPage/components/SecretSyncsTab/SecretSyncTable/helpers/index.ts
@@ -215,7 +215,7 @@ export const getSecretSyncDestinationColValues = (secretSync: TSecretSync) => {
secondaryText = destinationConfig.spaceName || destinationConfig.spaceId;
break;
case SecretSync.CircleCI:
- primaryText = destinationConfig.projectName || destinationConfig.projectSlug;
+ primaryText = destinationConfig.projectName;
secondaryText = "Project";
break;
default:
diff --git a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/CircleCISyncDestinationSection.tsx b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/CircleCISyncDestinationSection.tsx
index 209604d2fd..4fa589c60d 100644
--- a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/CircleCISyncDestinationSection.tsx
+++ b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/CircleCISyncDestinationSection.tsx
@@ -7,13 +7,13 @@ type Props = {
export const CircleCISyncDestinationSection = ({ secretSync }: Props) => {
const {
- destinationConfig: { orgId, orgName, projectName, projectSlug }
+ destinationConfig: { orgName, projectName }
} = secretSync;
return (
<>
- <GenericFieldLabel label="Organization">{orgName || orgId || "-"}</GenericFieldLabel>
- <GenericFieldLabel label="Project">{projectName || projectSlug}</GenericFieldLabel>
+ <GenericFieldLabel label="Organization">{orgName}</GenericFieldLabel>
+ <GenericFieldLabel label="Project">{projectName}</GenericFieldLabel>
</>
);
};