Skip to content

Commit

Permalink
chore: 🤖 remove kibana.yml flag (#62441)
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Apr 14, 2020
1 parent 232755f commit 1824c20
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 40 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/dashboard_enhanced/kibana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "dashboardEnhanced",
"version": "kibana",
"server": true,
"server": false,
"ui": true,
"requiredPlugins": ["uiActions", "embeddable", "dashboard", "drilldowns"],
"configPath": ["xpack", "dashboardEnhanced"]
Expand Down
5 changes: 1 addition & 4 deletions x-pack/plugins/dashboard_enhanced/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ export interface StartContract {}
export class DashboardEnhancedPlugin
implements Plugin<SetupContract, StartContract, SetupDependencies, StartDependencies> {
public readonly drilldowns = new DashboardDrilldownsService();
public readonly config: { drilldowns: { enabled: boolean } };

constructor(protected readonly context: PluginInitializerContext) {
this.config = context.config.get();
}
constructor(protected readonly context: PluginInitializerContext) {}

public setup(core: CoreSetup<StartDependencies>, plugins: SetupDependencies): SetupContract {
this.drilldowns.bootstrap(core, plugins, {
Expand Down
23 changes: 0 additions & 23 deletions x-pack/plugins/dashboard_enhanced/server/config.ts

This file was deleted.

12 changes: 0 additions & 12 deletions x-pack/plugins/dashboard_enhanced/server/index.ts

This file was deleted.

0 comments on commit 1824c20

Please sign in to comment.