Fix table mock mode (#1007)

This commit is contained in:
Charles Bochet
2023-07-31 01:50:02 -07:00
committed by GitHub
parent 58e5d24261
commit a90cbac5e6
3 changed files with 15 additions and 1 deletions

View File

@ -127,7 +127,7 @@ export function EntityTable<SortField>({
onSortsUpdate={onSortsUpdate}
/>
<StyledTableWrapper>
{viewFields.length && (
{viewFields.length > 0 && (
<StyledTable>
<EntityTableHeader viewFields={viewFields} />
<EntityTableBody />