mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[aggResponse/tabify] return nothing if no tables were created
This commit is contained in:
parent
665cbc013c
commit
99a7a4964c
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ define(function (require) {
|
|||
if (this.canSplit) return this.root;
|
||||
|
||||
var table = this.root.tables[0];
|
||||
if (!table) return;
|
||||
|
||||
delete table.$parent;
|
||||
return table;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue