mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
8bad6adc30
commit
41eebe6747
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ uiModule.directive('monitoringMain', (breadcrumbs, license, kbnUrl, config, $inj
|
|||
if (!scope.cluster) {
|
||||
const $route = $injector.get('$route');
|
||||
const globalState = $injector.get('globalState');
|
||||
scope.cluster = $route.current.locals.clusters.find(cluster => cluster.cluster_uuid === globalState.cluster_uuid);
|
||||
scope.cluster = ($route.current.locals.clusters || []).find(cluster => cluster.cluster_uuid === globalState.cluster_uuid);
|
||||
}
|
||||
|
||||
function getSetupObj() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue