stackdriver: use correct event name

This commit is contained in:
Erik Sundell
2018-09-26 13:42:53 +02:00
parent 85fce84087
commit 2965f58838
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ export class StackdriverQueryCtrl extends QueryCtrl {
const { valueType, metricKind } = this.metricDescriptors.find(m => m.type === this.target.metricType);
this.target.valueType = valueType;
this.target.metricKind = metricKind;
this.$scope.$broadcast('metricTypeChange');
this.$scope.$broadcast('metricTypeChanged');
this.refresh();
this.getLabels();
}