stackdriver: set first metric as selected if no metric could be retrieved from the target

This commit is contained in:
Erik Sundell 2018-09-27 15:42:01 +02:00
parent 03b43ab769
commit a028df658a

View File

@ -1,5 +1,4 @@
import _ from 'lodash';
import './query_filter_ctrl';
export class StackdriverAnnotationsQueryCtrl {
@ -16,7 +15,7 @@ export class StackdriverAnnotationsQueryCtrl {
name: 'loading project...',
},
metricType: this.defaultDropdownValue,
metricService: this.defaultServiceValue,
service: this.defaultServiceValue,
metric: '',
filters: [],
metricKind: '',