mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Vega, TSVB, Timeline] fix send data request twice when opening visualizations. (#106398)
Closes: #106398 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
3027999435
commit
7c064ec31e
1 changed files with 4 additions and 1 deletions
|
@ -136,6 +136,9 @@ export class VisualizeEmbeddable
|
|||
this.deps = deps;
|
||||
this.timefilter = timefilter;
|
||||
this.syncColors = this.input.syncColors;
|
||||
this.searchSessionId = this.input.searchSessionId;
|
||||
this.query = this.input.query;
|
||||
|
||||
this.vis = vis;
|
||||
this.vis.uiState.on('change', this.uiStateChangeHandler);
|
||||
this.vis.uiState.on('reload', this.reload);
|
||||
|
@ -149,7 +152,7 @@ export class VisualizeEmbeddable
|
|||
}
|
||||
|
||||
this.subscriptions.push(
|
||||
this.getUpdated$().subscribe((value) => {
|
||||
this.getInput$().subscribe(() => {
|
||||
const isDirty = this.handleChanges();
|
||||
|
||||
if (isDirty && this.handler) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue