Skip to content

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

fix(insights): put the Graph tab first

Dimitris Staratzisacb4b2663351
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretAccessInsights.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretAccessInsights.tsx
index 26d77ff72f..260a9598a2 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretAccessInsights.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretAccessInsights.tsx
@@ -794,15 +794,6 @@ export function SecretAccessInsights({
<div className="flex thin-scrollbar flex-col gap-4 overflow-y-auto p-4">
<div className="flex items-center gap-2">
<ButtonGroup>
- <Button
- size="xs"
- variant={view === "table" ? "project" : "outline"}
- aria-pressed={view === "table"}
- onClick={() => setView("table")}
- >
- <TableIcon />
- Table
- </Button>
<Button
size="xs"
variant={view === "graph" ? "project" : "outline"}
@@ -812,6 +803,15 @@ export function SecretAccessInsights({
<NetworkIcon />
Graph
</Button>
+ <Button
+ size="xs"
+ variant={view === "table" ? "project" : "outline"}
+ aria-pressed={view === "table"}
+ onClick={() => setView("table")}
+ >
+ <TableIcon />
+ Table
+ </Button>
</ButtonGroup>
{view === "table" && (
<>