Skip to content

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

fix: redirect naviagation on reference to v3 page

adilson6fb971160377
diff --git a/frontend/src/components/secrets/SecretReferenceDetails/nodes/SecretNode.tsx b/frontend/src/components/secrets/SecretReferenceDetails/nodes/SecretNode.tsx
index e726047520..8749f8aef2 100644
--- a/frontend/src/components/secrets/SecretReferenceDetails/nodes/SecretNode.tsx
+++ b/frontend/src/components/secrets/SecretReferenceDetails/nodes/SecretNode.tsx
@@ -48,15 +48,15 @@ export const SecretNode = ({ data }: NodeProps & { data: SecretNodeData }) => {
if (isRoot) return;
onClose?.();
navigate({
- to: ROUTE_PATHS.SecretManager.SecretDashboardPage.path,
+ to: ROUTE_PATHS.SecretManager.OverviewPage.path,
params: {
orgId: routeParams.orgId as string,
- projectId: currentProject?.id || "",
- envSlug: environment
+ projectId: currentProject?.id || ""
},
search: {
secretPath,
- search: secretKey
+ search: secretKey,
+ environments: [environment]
}
});
}, [