mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
This reverts commit 2e8cd1c021.
This commit is contained in:
@@ -41,12 +41,7 @@ export class FormDropdownCtrl {
|
||||
|
||||
static $inject = ['$scope', '$element', '$sce', 'templateSrv'];
|
||||
|
||||
constructor(
|
||||
private $scope: any,
|
||||
$element: JQLite,
|
||||
private $sce: ISCEService,
|
||||
private templateSrv: any
|
||||
) {
|
||||
constructor(private $scope: any, $element: JQLite, private $sce: ISCEService, private templateSrv: any) {
|
||||
this.inputElement = $element.find('input').first();
|
||||
this.linkElement = $element.find('a').first();
|
||||
this.linkMode = true;
|
||||
|
||||
@@ -39,10 +39,7 @@ export class SwitchCtrl {
|
||||
|
||||
static $inject = ['$scope', '$timeout'];
|
||||
|
||||
constructor(
|
||||
$scope: any,
|
||||
private $timeout: any
|
||||
) {
|
||||
constructor($scope: any, private $timeout: any) {
|
||||
this.show = true;
|
||||
this.id = $scope.$id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user