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:
parent
4aa09a6a71
commit
ccf2e255fe
@ -47,7 +47,9 @@ export class FormDropdownCtrl {
|
||||
|
||||
// listen to model changes
|
||||
$scope.$watch('ctrl.model', this.modelChanged.bind(this));
|
||||
}
|
||||
|
||||
$onInit() {
|
||||
if (this.labelMode) {
|
||||
this.cssClasses = 'gf-form-label ' + this.cssClass;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user