mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Angular: Fixes issue with angular directive caused by angular upgrade in master (#30114)
This commit is contained in:
@@ -47,7 +47,9 @@ export class FormDropdownCtrl {
|
|||||||
|
|
||||||
// listen to model changes
|
// listen to model changes
|
||||||
$scope.$watch('ctrl.model', this.modelChanged.bind(this));
|
$scope.$watch('ctrl.model', this.modelChanged.bind(this));
|
||||||
|
}
|
||||||
|
|
||||||
|
$onInit() {
|
||||||
if (this.labelMode) {
|
if (this.labelMode) {
|
||||||
this.cssClasses = 'gf-form-label ' + this.cssClass;
|
this.cssClasses = 'gf-form-label ' + this.cssClass;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user