fix(databases): ensure row count pill renders safely
This commit is contained in:
@@ -196,7 +196,7 @@ function SchemaGroup({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<span style={tableName}>{t.name}</span>
|
<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>
|
<span style={rowCount}>{formatCount(t.approxRows)}</span>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user