Explorar o código

fix: fixed compiler error from #9676

Torkel Ödegaard %!s(int64=8) %!d(string=hai) anos
pai
achega
fec37f22b8

+ 1 - 1
public/app/core/directives/ng_model_on_blur.ts

@@ -1,5 +1,5 @@
 import coreModule from '../core_module';
-import rangeUtil from 'app/core/utils/rangeutil';
+import * as rangeUtil from 'app/core/utils/rangeutil';
 
 export class NgModelOnBlur {
   constructor() {

+ 0 - 1
public/app/features/panel/metrics_panel_ctrl.ts

@@ -226,7 +226,6 @@ class MetricsPanelCtrl extends PanelCtrl {
       interval: this.interval,
       intervalMs: this.intervalMs,
       targets: this.panel.targets,
-      format: this.panel.renderer === 'png' ? 'png' : 'json',
       maxDataPoints: this.resolution,
       scopedVars: scopedVars,
       cacheTimeout: this.panel.cacheTimeout