Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
maryia-lapata committed Jan 23, 2020
1 parent 2673963 commit 698b829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/legacy/ui/public/agg_types/agg_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { initParams } from './agg_params';
import { AggConfig } from '../vis';
import { AggConfigs } from './agg_configs';
import { ISearchSource } from '../courier';
import { Adapters } from '../inspector';
import { Adapters } from '../../../../plugins/inspector/public';
import { BaseParamType } from './param_types/base';
import { AggParamType } from '../agg_types/param_types/agg';
import { KBN_FIELD_TYPES, FieldFormat } from '../../../../plugins/data/public';
Expand Down
5 changes: 3 additions & 2 deletions x-pack/legacy/plugins/maps/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { wrapInI18nContext } from 'ui/i18n';
import { MapListing } from './components/map_listing';
// @ts-ignore
import { setLicenseId } from './kibana_services';
// @ts-ignore
import { MapView } from './inspector/views/map_view';

/**
Expand All @@ -26,7 +27,7 @@ export class MapsPlugin implements Plugin<MapsPluginSetup, MapsPluginStart> {
public setup(core: any, plugins: any) {
const {
__LEGACY: { uiModules },
np: { licensing },
np: { licensing, inspector },
} = plugins;

uiModules
Expand All @@ -39,7 +40,7 @@ export class MapsPlugin implements Plugin<MapsPluginSetup, MapsPluginStart> {
licensing.license$.subscribe(({ uid }: { uid: string }) => setLicenseId(uid));
}

plugins.inspector.registerView(MapView);
inspector.registerView(MapView);
}

public start(core: CoreStart, plugins: any) {}
Expand Down

0 comments on commit 698b829

Please sign in to comment.