mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix issue with this.embeddableConfigChangeListeners being undefined (#18611)
This commit is contained in:
parent
608cd39d25
commit
2f52a8e52c
1 changed files with 2 additions and 1 deletions
|
@ -89,9 +89,10 @@ export class DashboardStateManager {
|
|||
|
||||
// Always start out with all panels minimized when a dashboard is first loaded.
|
||||
store.dispatch(minimizePanel());
|
||||
store.dispatch(setPanels({}));
|
||||
this.embeddableConfigChangeListeners = {};
|
||||
this._pushAppStateChangesToStore();
|
||||
|
||||
this.embeddableConfigChangeListeners = {};
|
||||
this.changeListeners = [];
|
||||
|
||||
this.unsubscribe = store.subscribe(() => this._handleStoreChanges());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue