Ver código fonte

bind array instead of function

Erik Sundell 7 anos atrás
pai
commit
9ec6831713

+ 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'"