Merge remote-tracking branch 'origin/stackdriver-plugin' into stackdriver-plugin

This commit is contained in:
Daniel Lee 2018-09-28 16:34:28 +02:00
commit aedd518186

View File

@ -161,6 +161,7 @@ export class StackdriverFilterCtrl {
this.target.service = this.service;
this.metrics = this.getMetricsList();
this.setMetricType();
this.getLabels();
if (!this.metrics.find(m => m.value === this.target.metricType)) {
this.target.metricType = this.$scope.defaultDropdownValue;
} else {