Skip to content

Commit

Permalink
Readding dashboard as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Jun 24, 2020
1 parent 2561ea1 commit aa11919
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/visualize/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface VisualizePluginStartDependencies {
embeddable: EmbeddableStart;
kibanaLegacy: KibanaLegacyStart;
savedObjects: SavedObjectsStart;
dashboard: DashboardStart;
}

export interface VisualizePluginSetupDependencies {
Expand Down Expand Up @@ -143,6 +144,7 @@ export class VisualizePlugin
setActiveUrl,
createVisEmbeddableFromObject:
pluginsStart.visualizations.__LEGACY.createVisEmbeddableFromObject,
dashboard: pluginsStart.dashboard,
scopedHistory: () => this.currentHistory!,
savedObjects: pluginsStart.savedObjects,
featureFlagConfig: this.initializerContext.config.get<FeatureFlagConfig>(),
Expand Down

0 comments on commit aa11919

Please sign in to comment.