Skip to content

Commit

Permalink
always start with closed context menu (#24252) (#24286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored Oct 20, 2018
1 parent dd648cd commit c5a7186
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 c5a7186

Please sign in to comment.