Sfoglia il codice sorgente

stackdriver: add default value for query type

Erik Sundell 7 anni fa
parent
commit
2d14bd10f3

+ 1 - 1
public/app/plugins/datasource/stackdriver/components/TemplateQueryComponent.tsx

@@ -18,7 +18,7 @@ export class StackdriverTemplateQueryComponent extends PureComponent<TemplateQue
   ];
 
   defaults: TemplateQueryComponentData = {
-    selectedQueryType: '',
+    selectedQueryType: this.queryTypes[0].value,
     metricDescriptors: [],
     selectedService: '',
     selectedMetricType: '',