fix(databases): ensure row count pill renders safely

This commit is contained in:
2026-06-14 14:26:18 -07:00
parent 0f2476b863
commit 0894f1093d

View File

@@ -196,7 +196,7 @@ function SchemaGroup({
}}
/>
<span style={tableName}>{t.name}</span>
{t.approxRows != null && t.approxRows >= 0 && (
{typeof t.approxRows === "number" && t.approxRows >= 0 && (
<span style={rowCount}>{formatCount(t.approxRows)}</span>
)}
</button>