From fec37f22b839584c08b47442f5f1fa11582cf453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 1 Nov 2017 08:08:16 +0100 Subject: [PATCH] fix: fixed compiler error from #9676 --- public/app/core/directives/ng_model_on_blur.ts | 2 +- public/app/features/panel/metrics_panel_ctrl.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/core/directives/ng_model_on_blur.ts b/public/app/core/directives/ng_model_on_blur.ts index e80721b26b3..383d04e3961 100644 --- a/public/app/core/directives/ng_model_on_blur.ts +++ b/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() { diff --git a/public/app/features/panel/metrics_panel_ctrl.ts b/public/app/features/panel/metrics_panel_ctrl.ts index 839dbba72e8..c139f5c8313 100644 --- a/public/app/features/panel/metrics_panel_ctrl.ts +++ b/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