Skip to content

Commit

Permalink
Remove duplicate indentifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Jun 24, 2020
1 parent 7a6a891 commit 2561ea1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export class VisualizeEmbeddableFactory
public async create(input: VisualizeInput & { savedVis?: SerializedVis }, parent?: IContainer) {
// TODO: This is a bit of a hack to preserve the original functionality. Ideally we will clean this up
// to allow for in place creation of visualizations without having to navigate away to a new URL.
const originatingAppParam = await this.getCurrentAppId();
if (input.savedVis) {
const visState = input.savedVis;
const vis = new Vis(visState.type, visState);
Expand Down
1 change: 0 additions & 1 deletion src/plugins/visualize/public/kibana_services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export interface VisualizeKibanaServices {
createVisEmbeddableFromObject: VisualizationsStart['__LEGACY']['createVisEmbeddableFromObject'];
scopedHistory: () => ScopedHistory;
savedObjects: SavedObjectsStart;
embeddable: EmbeddableStart;
featureFlagConfig: ConfigSchema;
}

Expand Down
2 changes: 0 additions & 2 deletions src/plugins/visualize/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export interface VisualizePluginStartDependencies {
embeddable: EmbeddableStart;
kibanaLegacy: KibanaLegacyStart;
savedObjects: SavedObjectsStart;
embeddable: EmbeddableStart;
}

export interface VisualizePluginSetupDependencies {
Expand Down Expand Up @@ -146,7 +145,6 @@ export class VisualizePlugin
pluginsStart.visualizations.__LEGACY.createVisEmbeddableFromObject,
scopedHistory: () => this.currentHistory!,
savedObjects: pluginsStart.savedObjects,
embeddable: pluginsStart.embeddable,
featureFlagConfig: this.initializerContext.config.get<FeatureFlagConfig>(),
restorePreviousUrl,
};
Expand Down

0 comments on commit 2561ea1

Please sign in to comment.