Skip to content

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

fix(pam): improve tab close button visibility and empty select result message

Bernie Gandin9db123d2fafa
diff --git a/frontend/src/pages/pam/PamDataExplorerPage/PamDataExplorerPage.tsx b/frontend/src/pages/pam/PamDataExplorerPage/PamDataExplorerPage.tsx
index 2a4354107d..fb456dfc24 100644
--- a/frontend/src/pages/pam/PamDataExplorerPage/PamDataExplorerPage.tsx
+++ b/frontend/src/pages/pam/PamDataExplorerPage/PamDataExplorerPage.tsx
@@ -445,7 +445,7 @@ export const PamDataExplorerPage = () => {
e.stopPropagation();
closeTab(tab.id);
}}
- className="ml-1 rounded p-0.5 text-mineshaft-500 opacity-0 transition-opacity group-hover:opacity-100 hover:text-mineshaft-200"
+ className="ml-1 rounded p-0.5 text-mineshaft-300 transition-colors hover:text-mineshaft-100"
aria-label={`Close ${tab.title}`}
>
<XIcon className="size-3" />
diff --git a/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx b/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
index f23dc5a441..8aab37efef 100644
--- a/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
+++ b/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
@@ -141,7 +141,7 @@ export function QueryResultsTable({ result, error, isRunning, tableDetail }: Pro
const message = verb[cmdUpper]
? `${count} row${count !== 1 ? "s" : ""} ${verb[cmdUpper]}`
- : result.command;
+ : "No rows returned";
return (
<div className="flex h-full flex-col items-center justify-center gap-2">