Skip to content

Commit

Permalink
Revert "remove blocking behavior"
Browse files Browse the repository at this point in the history
This reverts commit 455d7ac.
  • Loading branch information
thomasneirynck committed Jan 14, 2021
1 parent b9454e9 commit fc47b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/maps/public/licensed_features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const LICENCED_FEATURES_DETAILS: Record<LICENSED_FEATURES, LicensedFeatur

let licenseId: string | undefined;
let isGoldPlus: boolean = false;

let isEnterprisePlus: boolean = false;

export const getLicenseId = () => licenseId;
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/maps/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ export class MapsPlugin
});
}

public start(core: CoreStart, plugins: MapsPluginStartDependencies): Promise<MapsStartApi> {
setLicensingPluginStart(plugins.licensing);
public async start(core: CoreStart, plugins: MapsPluginStartDependencies): Promise<MapsStartApi> {
await setLicensingPluginStart(plugins.licensing);
plugins.uiActions.addTriggerAction(VISUALIZE_GEO_FIELD_TRIGGER, visualizeGeoFieldAction);
setStartServices(core, plugins);
// unregisters the OSS alias
Expand Down

0 comments on commit fc47b82

Please sign in to comment.