AngularPanels: Check for digest cycle on root scope (#20919)

This commit is contained in:
Torkel Ödegaard
2019-12-06 09:03:14 +01:00
committed by GitHub
parent ced13da889
commit 2a44cbd137
@@ -118,7 +118,7 @@ class MetricsPanelCtrl extends PanelCtrl {
}
angularDirtyCheck() {
if (!this.$scope.$$phase) {
if (!this.$scope.$root.$$phase) {
this.$scope.$digest();
}
}