diff --git a/src/plugins/discover/public/application/view_components/canvas/discover_table.tsx b/src/plugins/discover/public/application/view_components/canvas/discover_table.tsx index c435b5fc8f4d..3f7bbf4ec7b8 100644 --- a/src/plugins/discover/public/application/view_components/canvas/discover_table.tsx +++ b/src/plugins/discover/public/application/view_components/canvas/discover_table.tsx @@ -85,6 +85,11 @@ export const DiscoverTable = ({ rows }: Props) => { return null; } + if (!rows || rows.length === 0) { + // TODO: handle better + return