File tree Expand file tree Collapse file tree
visualizations/public/embeddable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ export class VisualizeEmbeddableFactory
127127 public async create ( input : VisualizeInput & { savedVis ?: SerializedVis } , parent ?: IContainer ) {
128128 // TODO: This is a bit of a hack to preserve the original functionality. Ideally we will clean this up
129129 // to allow for in place creation of visualizations without having to navigate away to a new URL.
130- const originatingAppParam = await this . getCurrentAppId ( ) ;
131130 if ( input . savedVis ) {
132131 const visState = input . savedVis ;
133132 const vis = new Vis ( visState . type , visState ) ;
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ export interface VisualizeKibanaServices {
6060 createVisEmbeddableFromObject : VisualizationsStart [ '__LEGACY' ] [ 'createVisEmbeddableFromObject' ] ;
6161 scopedHistory : ( ) => ScopedHistory ;
6262 savedObjects : SavedObjectsStart ;
63- embeddable : EmbeddableStart ;
6463 featureFlagConfig : ConfigSchema ;
6564}
6665
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export interface VisualizePluginStartDependencies {
5252 embeddable : EmbeddableStart ;
5353 kibanaLegacy : KibanaLegacyStart ;
5454 savedObjects : SavedObjectsStart ;
55- embeddable : EmbeddableStart ;
5655}
5756
5857export interface VisualizePluginSetupDependencies {
@@ -146,7 +145,6 @@ export class VisualizePlugin
146145 pluginsStart . visualizations . __LEGACY . createVisEmbeddableFromObject ,
147146 scopedHistory : ( ) => this . currentHistory ! ,
148147 savedObjects : pluginsStart . savedObjects ,
149- embeddable : pluginsStart . embeddable ,
150148 featureFlagConfig : this . initializerContext . config . get < FeatureFlagConfig > ( ) ,
151149 restorePreviousUrl,
152150 } ;
You can’t perform that action at this time.
0 commit comments