Skip to content

Commit 0384e4f

Browse files
committed
Bug fix: table names had a zero appended to the name when there are zero rows
1 parent bd7ce40 commit 0384e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firefly/js/ui/tap/TapViewType.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function OpRender({ops, value, label='', sx, lineClamp, rowDesc='rows'}) {
548548
<Typography level='body-md' >
549549
{op.value}
550550
</Typography>
551-
{op.rows &&
551+
{Boolean(op.rows) &&
552552
<>
553553
<Typography level='body-sm'> {`(${rowDesc}:`} </Typography>
554554
<Typography level='body-sm' color='warning'> {`${op.rows})`} </Typography>

0 commit comments

Comments
 (0)