mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 13:55:14 +00:00
API lib cleanup, 404 hosts WIP
This commit is contained in:
@@ -7,11 +7,9 @@ function TableBody<T>(props: TableLayoutProps<T>) {
|
||||
const rows = tableInstance.getRowModel().rows;
|
||||
|
||||
if (rows.length === 0) {
|
||||
return emptyState ? (
|
||||
emptyState
|
||||
) : (
|
||||
return (
|
||||
<tbody className="table-tbody">
|
||||
<EmptyRow tableInstance={tableInstance} />
|
||||
{emptyState ? emptyState : <EmptyRow tableInstance={tableInstance} />}
|
||||
</tbody>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user