Skip to content

Commit c86da6f

Browse files
authored
Merge pull request #1480 from CarlosEGuerraSilva/master
Fix for #1452 ForceRender does not return "No records found" if data is empty
2 parents 2b3f008 + 10300c4 commit c86da6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/table/tbody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function TBody() {
3737
/>
3838
)}
3939

40-
{status === Status.Rendered && data && data.length === 0 && (
40+
{(status === Status.Rendered || status === Status.Loaded) && data && data.length === 0 && (
4141
<MessageRow
4242
message={_('noRecordsFound')}
4343
colSpan={headerLength()}

0 commit comments

Comments
 (0)