mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix ML swimlane embeddable titles (#168647)
Stops the ML Embeddables from setting the default title and default description on their outputs during initialization.
This commit is contained in:
parent
ae4ebd4808
commit
7cb153d4d7
2 changed files with 2 additions and 9 deletions
|
@ -66,7 +66,7 @@ export class EmbeddableChangePointChart extends AbstractEmbeddable<
|
|||
initialInput: EmbeddableChangePointChartInput,
|
||||
parent?: IContainer
|
||||
) {
|
||||
super(initialInput, { defaultTitle: initialInput.title }, parent);
|
||||
super(initialInput, {}, parent);
|
||||
|
||||
this.initOutput().finally(() => this.setInitializationFinished());
|
||||
}
|
||||
|
|
|
@ -33,14 +33,7 @@ export abstract class AnomalyDetectionEmbeddable<
|
|||
private dataViewsService: DataViewsContract,
|
||||
parent?: IContainer
|
||||
) {
|
||||
super(
|
||||
initialInput,
|
||||
{
|
||||
defaultTitle: initialInput.title,
|
||||
defaultDescription: initialInput.description,
|
||||
} as Output,
|
||||
parent
|
||||
);
|
||||
super(initialInput, {} as Output, parent);
|
||||
|
||||
this.initializeOutput(initialInput).finally(() => {
|
||||
this.setInitializationFinished();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue