From 3eb77b4cf8744990496630a22656456995470c77 Mon Sep 17 00:00:00 2001 From: rozetko Date: Tue, 31 Jul 2018 18:01:23 +0300 Subject: [PATCH] Uppercase hotfix --- src/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index f7c80ec..8f1fc1b 100644 --- a/src/module.ts +++ b/src/module.ts @@ -180,7 +180,7 @@ class GraphCtrl extends MetricsPanelCtrl { if(anomalyType === undefined) { throw new Error('anomalyType is undefined'); } - if(anomalyType.status === 'ready') { + if(anomalyType.status === 'READY') { await this.analyticsController.fetchSegments(anomalyType, +this.range.from, +this.range.to); } this.render(this.seriesList);