From 2b91e11d4010ee72157614ae2bafb37967d30e4b Mon Sep 17 00:00:00 2001 From: chrisronline Date: Wed, 21 Oct 2020 12:19:42 -0400 Subject: [PATCH] Make sure we tell angular what's up --- x-pack/plugins/monitoring/public/views/loading/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugins/monitoring/public/views/loading/index.js b/x-pack/plugins/monitoring/public/views/loading/index.js index 5ca523899067d..b5d79e1d2b652 100644 --- a/x-pack/plugins/monitoring/public/views/loading/index.js +++ b/x-pack/plugins/monitoring/public/views/loading/index.js @@ -53,15 +53,18 @@ uiRoutes.when('/loading', { (clusters) => { if (!clusters || !clusters.length) { window.location.hash = '#/no-data'; + $scope.$apply(); return; } if (clusters.length === 1) { // Bypass the cluster listing if there is just 1 cluster window.history.replaceState(null, null, '#/overview'); + $scope.$apply(); return; } window.history.replaceState(null, null, '#/home'); + $scope.$apply(); } ); }