mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add hasTimeField
This commit is contained in:
parent
5ee11c894b
commit
7e42f3da5d
1 changed files with 4 additions and 0 deletions
|
@ -185,6 +185,10 @@ define(function (require) {
|
|||
}
|
||||
};
|
||||
|
||||
self.hasTimeField = function () {
|
||||
return !!(this.timeFieldName && this.fields.byName[this.timeFieldName]);
|
||||
};
|
||||
|
||||
self.prepBody = function () {
|
||||
var body = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue