Skip to content

Commit

Permalink
Revert "Remove dashboard refresh handler. (elastic#12798)"
Browse files Browse the repository at this point in the history
This reverts commit 5b41142.
  • Loading branch information
thomasneirynck committed Jul 12, 2017
1 parent bd89026 commit e330b2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/public/visualize/visualize.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ uiModules
};
$scope.vis.on('reload', reload);
$scope.$on('courier:searchRefresh', reload);
// dashboard will trigger this event when refreshing
$scope.$on('fetch', reload);

if ($scope.appState) {
let oldUiState;
Expand Down

0 comments on commit e330b2a

Please sign in to comment.