mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Show message if table data is empty
This commit is contained in:
parent
f0c81f289f
commit
0d0ae69b25
1 changed files with 5 additions and 0 deletions
|
|
@ -526,6 +526,11 @@ export function Table({
|
|||
</tr>
|
||||
))}
|
||||
</thead>
|
||||
|
||||
{!loadingState && page.length === 0 &&
|
||||
<center className="w-100"><div className="py-5"> no data </div></center>
|
||||
}
|
||||
|
||||
{!loadingState && (
|
||||
<tbody {...getTableBodyProps()}>
|
||||
{console.log('page', page)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue