mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-23 22:53:09 +01:00
API lib cleanup, 404 hosts WIP
This commit is contained in:
76 files changed
+921
-544
No files matched your search
@@ -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