Skip to content

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

refactor: restore native integrations tab and reorganize tab panels in IntegrationsListPage

Victor Santos15c341bce192
diff --git a/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx b/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx
index 4b2d5f750b..77b4213b03 100644
--- a/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx
+++ b/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx
@@ -77,17 +77,17 @@ export const IntegrationsListPage = () => {
<Tab variant="project" value={IntegrationsListPageTabs.SecretSyncs}>
Secret Syncs
</Tab>
- {hasNativeIntegrations && (
- <Tab variant="project" value={IntegrationsListPageTabs.NativeIntegrations}>
- Native Integrations
- </Tab>
- )}
<Tab variant="project" value={IntegrationsListPageTabs.FrameworkIntegrations}>
Framework Integrations
</Tab>
<Tab variant="project" value={IntegrationsListPageTabs.InfrastructureIntegrations}>
Infrastructure Integrations
</Tab>
+ {hasNativeIntegrations && (
+ <Tab variant="project" value={IntegrationsListPageTabs.NativeIntegrations}>
+ Native Integrations
+ </Tab>
+ )}
</TabList>
<TabPanel value={IntegrationsListPageTabs.SecretSyncs}>
<ProjectPermissionCan
@@ -98,6 +98,12 @@ export const IntegrationsListPage = () => {
<SecretSyncsTab />
</ProjectPermissionCan>
</TabPanel>
+ <TabPanel value={IntegrationsListPageTabs.FrameworkIntegrations}>
+ <FrameworkIntegrationTab />
+ </TabPanel>
+ <TabPanel value={IntegrationsListPageTabs.InfrastructureIntegrations}>
+ <InfrastructureIntegrationTab />
+ </TabPanel>
{hasNativeIntegrations && (
<TabPanel value={IntegrationsListPageTabs.NativeIntegrations}>
<Alert variant="warning" className="mb-4" hideTitle>
@@ -131,12 +137,6 @@ export const IntegrationsListPage = () => {
</ProjectPermissionCan>
</TabPanel>
)}
- <TabPanel value={IntegrationsListPageTabs.FrameworkIntegrations}>
- <FrameworkIntegrationTab />
- </TabPanel>
- <TabPanel value={IntegrationsListPageTabs.InfrastructureIntegrations}>
- <InfrastructureIntegrationTab />
- </TabPanel>
</Tabs>
</div>
</div>