From dfdadd69dd779bd44a82e66108eec41e825c6bce Mon Sep 17 00:00:00 2001 From: rozetko Date: Thu, 28 Jun 2018 21:31:04 +0300 Subject: [PATCH] Support old pattern name #19 --- src/module.ts | 1 + src/partials/tab_analytics.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index fa680b1..70f695e 100644 --- a/src/module.ts +++ b/src/module.ts @@ -43,6 +43,7 @@ class GraphCtrl extends MetricsPanelCtrl { datasourceRequest: DatasourceRequest; patterns: Array = ['General', 'Drops', 'Peaks', 'Jumps']; + patternsLegacy: Array = ['General', 'General approach', 'Drops', 'Peaks', 'Jumps']; anomalyTypes = []; // TODO: remove it later. Only for alert tab anomalyController: AnomalyController; diff --git a/src/partials/tab_analytics.html b/src/partials/tab_analytics.html index 6023ad5..083042a 100644 --- a/src/partials/tab_analytics.html +++ b/src/partials/tab_analytics.html @@ -13,7 +13,7 @@