Skip to content

Commit 31ddcdb

Browse files
committed
stackdriver: make sure labels are loaded when service is changed in dropdown
1 parent 189f89a commit 31ddcdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export class StackdriverFilterCtrl {
161161
this.target.service = this.service;
162162
this.metrics = this.getMetricsList();
163163
this.setMetricType();
164+
this.getLabels();
164165
if (!this.metrics.find(m => m.value === this.target.metricType)) {
165166
this.target.metricType = this.$scope.defaultDropdownValue;
166167
} else {

0 commit comments

Comments
 (0)