Fixed type issues introduced by adding angular types

This commit is contained in:
Torkel Ödegaard
2019-03-12 15:27:02 +01:00
parent 25b1bec250
commit d7dc6ad3f4
5 changed files with 27 additions and 30 deletions

View File

@@ -9,7 +9,7 @@ coreModule.directive('datasourceHttpSettings', () => {
},
templateUrl: 'public/app/features/datasources/partials/http_settings.html',
link: {
pre: ($scope, elem, attrs) => {
pre: ($scope: any, elem, attrs) => {
// do not show access option if direct access is disabled
$scope.showAccessOption = $scope.noDirectAccess !== 'true';
$scope.showAccessHelp = false;