From dff7bc6947c1fa07f3f24833b3348459ca383647 Mon Sep 17 00:00:00 2001 From: Aaron Caldwell Date: Fri, 17 Apr 2020 10:23:29 -0600 Subject: [PATCH] Add back in i18n context for embeddable --- .../maps/public/embeddable/map_embeddable.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx index 1d1310f4e2ff2..dbd48d614e99b 100644 --- a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx +++ b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx @@ -26,9 +26,7 @@ import { Query, RefreshInterval, } from '../../../../../src/plugins/data/public'; - import { GisMap } from '../connected_components/gis_map'; - import { createMapStore, MapStore } from '../reducers/store'; import { setGotoWithCenter, @@ -53,10 +51,8 @@ import { } from '../reducers/non_serializable_instances'; import { getMapCenter, getMapZoom, getHiddenLayerIds } from '../selectors/map_selectors'; import { MAP_SAVED_OBJECT_TYPE } from '../../common/constants'; - import { RenderToolTipContent } from '../layers/tooltips/tooltip_property'; - -import { getUiActions } from '../kibana_services'; +import { getUiActions, getCoreI18n } from '../kibana_services'; interface MapEmbeddableConfig { editUrl?: string; @@ -244,12 +240,16 @@ export class MapEmbeddable extends Embeddable - + + + , this._domNode );