Skip to content

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

fix(pam): only show truncation notice when rows are actually dropped

Bernie Gandin9cc618b7770c
diff --git a/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx b/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
index 8aab37efef..2030a7fe22 100644
--- a/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
+++ b/frontend/src/pages/pam/PamDataExplorerPage/components/QueryResultsTable.tsx
@@ -71,7 +71,7 @@ function ResultsGrid({
tableDetail: TableDetail | null;
}) {
const displayRows = useMemo(() => result.rows.slice(0, MAX_ROWS), [result.rows]);
- const isTruncated = result.rows.length >= MAX_ROWS;
+ const isTruncated = result.rows.length > MAX_ROWS;
const columns = useMemo(
() => buildColumns(result.fields, tableDetail),