From 2a44cbd13754a26a82435440a8ddb1c2d5fe0245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 6 Dec 2019 09:03:14 +0100 Subject: [PATCH] AngularPanels: Check for digest cycle on root scope (#20919) --- public/app/features/panel/metrics_panel_ctrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/panel/metrics_panel_ctrl.ts b/public/app/features/panel/metrics_panel_ctrl.ts index 4f20da08942..84dbb41c89a 100644 --- a/public/app/features/panel/metrics_panel_ctrl.ts +++ b/public/app/features/panel/metrics_panel_ctrl.ts @@ -118,7 +118,7 @@ class MetricsPanelCtrl extends PanelCtrl { } angularDirtyCheck() { - if (!this.$scope.$$phase) { + if (!this.$scope.$root.$$phase) { this.$scope.$digest(); } }