@ -43,6 +43,7 @@ class GraphCtrl extends MetricsPanelCtrl {
datasourceRequest: DatasourceRequest;
patterns: Array<String> = ['General', 'Drops', 'Peaks', 'Jumps'];
patternsLegacy: Array<String> = ['General', 'General approach', 'Drops', 'Peaks', 'Jumps'];
anomalyTypes = []; // TODO: remove it later. Only for alert tab
anomalyController: AnomalyController;
@ -13,7 +13,7 @@
<div class="gf-form-select-wrapper">
<select class="gf-form-input width-12"
ng-model="anomalyType.pattern"
ng-options="pattern as pattern disable when (pattern !== 'General' && pattern !== 'Drops' && pattern !== 'Peaks') for pattern in ctrl.patterns"
ng-options="pattern as pattern for pattern in ctrl.patternsLegacy"
ng-disabled="true"
/>
</div>