mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed issue with template refresh
This commit is contained in:
@@ -61,7 +61,6 @@ class MetricsPanelCtrl extends PanelCtrl {
|
||||
}
|
||||
|
||||
private onMetricsPanelRefresh() {
|
||||
console.log('metrics_panel_ctrl:onRefresh');
|
||||
// ignore fetching data if another panel is in fullscreen
|
||||
if (this.otherPanelInFullscreenMode()) {
|
||||
return;
|
||||
|
||||
@@ -135,7 +135,6 @@ module.directive('grafanaPanel', ($rootScope, $document, $timeout) => {
|
||||
ctrl.events.on('panel-size-changed', () => {
|
||||
ctrl.calculatePanelHeight();
|
||||
$timeout(() => {
|
||||
console.log('panel directive panel size changed, render');
|
||||
resizeScrollableContent();
|
||||
ctrl.render();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user