mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
stackdriver: make sure labels are loaded when service is changed in dropdown
This commit is contained in:
parent
189f89a9e4
commit
31ddcdb37e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user