Skip to content

Commit

Permalink
[Monitoring] Replace old kbn-top-nav with new one (#43187)
Browse files Browse the repository at this point in the history
* Replace old kbn-top-nav with new one

* Fix up our implementation
  • Loading branch information
chrisronline authored Aug 15, 2019
1 parent 54b9aee commit 0751c8f
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 292 deletions.
2 changes: 1 addition & 1 deletion src/legacy/ui/public/kbn_top_nav/kbn_top_nav2.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.directive('kbnTopNavV2', () => {

// Watch config changes
$scope.$watch(() => {
const config = $scope.$eval($attr.config);
const config = $scope.$eval($attr.config) || [];
return config.map((item) => {
// Copy key into id, as it's a reserved react propery.
// This is done for Angular directive backward compatibility.
Expand Down
Loading

0 comments on commit 0751c8f

Please sign in to comment.