Fixed error thrown in timelion opening help (#42701)

This commit is contained in:
Liza Katz 2019-08-06 19:30:06 +03:00 committed by GitHub
parent 6966d0d1a9
commit 7123a4aa5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ app.controller('timelion', function (
$timeout(function () {
if (config.get('timelion:showTutorial', true)) {
$scope.kbnTopNav.open('help');
$scope.menus.showHelp = true;
}
}, 0);
@ -321,7 +321,7 @@ app.controller('timelion', function (
dontShowHelp: function () {
config.set('timelion:showTutorial', false);
$scope.setPage(0);
$scope.kbnTopNav.close('help');
$scope.menus.showHelp = false;
}
};