[Maps] clearing index pattern does not clear preview layer #67618
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
Clearing index pattern for es_search_source, es_geo_grid_source and es_pew_pew source does not clear preview layer. This is because
debouncedLoad
returns early when indexPatternId is not provided. When indexPatternId is provided,_onGeoFieldSelect
is called which triggersonSourceConfigChange
. To fix the problem, need to ensureonSourceConfigChange
is triggered when indexPatternId is cleared.The text was updated successfully, but these errors were encountered: