Skip to content

Commit 00986b6

Browse files
committed
chore: πŸ€– remove kibana.yml flag
1 parent f629570 commit 00986b6

File tree

4 files changed

+3
-41
lines changed

4 files changed

+3
-41
lines changed

β€Žx-pack/plugins/dashboard_enhanced/kibana.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dashboardEnhanced",
33
"version": "kibana",
4-
"server": true,
4+
"server": false,
55
"ui": true,
66
"requiredPlugins": ["uiActions", "embeddable", "dashboard", "drilldowns"],
77
"configPath": ["xpack", "dashboardEnhanced"]

β€Žx-pack/plugins/dashboard_enhanced/public/plugin.tsβ€Ž

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,12 @@ export interface StartContract {}
2828
export class DashboardEnhancedPlugin
2929
implements Plugin<SetupContract, StartContract, SetupDependencies, StartDependencies> {
3030
public readonly drilldowns = new DashboardDrilldownsService();
31-
public readonly config: { drilldowns: { enabled: boolean } };
3231

33-
constructor(protected readonly context: PluginInitializerContext) {
34-
this.config = context.config.get();
35-
}
32+
constructor(protected readonly context: PluginInitializerContext) {}
3633

3734
public setup(core: CoreSetup<StartDependencies>, plugins: SetupDependencies): SetupContract {
3835
this.drilldowns.bootstrap(core, plugins, {
39-
enableDrilldowns: this.config.drilldowns.enabled,
36+
enableDrilldowns: true,
4037
});
4138

4239
return {};

β€Žx-pack/plugins/dashboard_enhanced/server/config.tsβ€Ž

Lines changed: 0 additions & 23 deletions
This file was deleted.

β€Žx-pack/plugins/dashboard_enhanced/server/index.tsβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
Β (0)