Commit 2a44cbd1 by Torkel Ödegaard Committed by GitHub

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

parent ced13da8
......@@ -118,7 +118,7 @@ class MetricsPanelCtrl extends PanelCtrl {
}
angularDirtyCheck() {
if (!this.$scope.$$phase) {
if (!this.$scope.$root.$$phase) {
this.$scope.$digest();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment