Skip to content

Commit

Permalink
always start with closed context menu (elastic#24252)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Oct 19, 2018
1 parent d8d2a18 commit 73d8bb9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
clearStagedFilters,
updateFilters,
updateQuery,
closeContextMenu,
} from './actions';
import { stateMonitorFactory } from 'ui/state_management/state_monitor_factory';
import { createPanelState } from './panel';
Expand Down Expand Up @@ -101,6 +102,8 @@ export class DashboardStateManager {

this.createStateMonitor();

store.dispatch(closeContextMenu());

// Always start out with all panels minimized when a dashboard is first loaded.
store.dispatch(minimizePanel());
this._pushAppStateChangesToStore();
Expand Down

0 comments on commit 73d8bb9

Please sign in to comment.