Преглед изворни кода

bind array instead of function

Erik Sundell пре 7 година
родитељ
комит
9ec6831713
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/plugins/datasource/stackdriver/partials/query.filter.html

+ 1 - 1
public/app/plugins/datasource/stackdriver/partials/query.filter.html

@@ -18,7 +18,7 @@
     <metric-select
       onChange="ctrl.handleMetricTypeChange"
       value="ctrl.target.metricType"
-      options="ctrl.getMetricsList()"
+      options="ctrl.metrics"
       variables="ctrl.templateSrv.variables"
       placeholder="'Select Metric'"
       className="'width-15'"