From fc47b82242c85765c9b3fa5db0d150cfd19210be Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Thu, 14 Jan 2021 14:23:44 -0500 Subject: [PATCH] Revert "remove blocking behavior" This reverts commit 455d7acf32a82f7ed2802b721db900f2c9f937d1. --- x-pack/plugins/maps/public/licensed_features.ts | 1 + x-pack/plugins/maps/public/plugin.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/maps/public/licensed_features.ts b/x-pack/plugins/maps/public/licensed_features.ts index e39f8d672ae21..f16fcac900683 100644 --- a/x-pack/plugins/maps/public/licensed_features.ts +++ b/x-pack/plugins/maps/public/licensed_features.ts @@ -36,6 +36,7 @@ export const LICENCED_FEATURES_DETAILS: Record licenseId; diff --git a/x-pack/plugins/maps/public/plugin.ts b/x-pack/plugins/maps/public/plugin.ts index 8d9ea83e1cfd2..b5340f4e31068 100644 --- a/x-pack/plugins/maps/public/plugin.ts +++ b/x-pack/plugins/maps/public/plugin.ts @@ -158,8 +158,8 @@ export class MapsPlugin }); } - public start(core: CoreStart, plugins: MapsPluginStartDependencies): Promise { - setLicensingPluginStart(plugins.licensing); + public async start(core: CoreStart, plugins: MapsPluginStartDependencies): Promise { + await setLicensingPluginStart(plugins.licensing); plugins.uiActions.addTriggerAction(VISUALIZE_GEO_FIELD_TRIGGER, visualizeGeoFieldAction); setStartServices(core, plugins); // unregisters the OSS alias