Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove tabs if no shared projects
Matheus Nogueira61957a44d895
diff --git a/frontend/src/components/v3/platform/SecretInput/SecretReferenceWizard.tsx b/frontend/src/components/v3/platform/SecretInput/SecretReferenceWizard.tsxindex 178b9e23d3..52d02e7f71 100644--- a/frontend/src/components/v3/platform/SecretInput/SecretReferenceWizard.tsx+++ b/frontend/src/components/v3/platform/SecretInput/SecretReferenceWizard.tsx@@ -639,6 +639,10 @@ export const SecretReferenceWizard = ({}};+ if (uniqueSourceProjects.length === 0) {+ return <div ref={contentRef}>{renderStepContent()}</div>;+ }+return (<Tabs value={state.tab} onValueChange={handleTabChange} className="gap-0"><TabsList className="h-auto w-full rounded-none rounded-t-md border-0 border-b border-border bg-transparent p-0">