mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AngularPanels: Check for digest cycle on root scope (#20919)
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user