Skip to content

Commit

Permalink
fix scope digest issue with new button in discover (elastic#45913) (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Sep 19, 2019
1 parent 1493c89 commit 18771f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function discoverController(
description: i18n.translate('kbn.discover.localMenu.newSearchDescription', {
defaultMessage: 'New Search',
}),
run: function () { kbnUrl.change('/discover'); },
run: function () { $scope.$evalAsync(() => { kbnUrl.change('/discover'); }); },
testId: 'discoverNewButton',
};

Expand Down

0 comments on commit 18771f2

Please sign in to comment.