mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Maps] ESSearchSource getSupportedShapeTypes wait for getGeoField (#36834)
This commit is contained in:
parent
83c14c8f63
commit
29cef695f0
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ export class ESSearchSource extends AbstractESSource {
|
|||
async getSupportedShapeTypes() {
|
||||
let geoFieldType;
|
||||
try {
|
||||
const geoField = this._getGeoField();
|
||||
const geoField = await this._getGeoField();
|
||||
geoFieldType = geoField.type;
|
||||
} catch(error) {
|
||||
// ignore exeception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue