diff --git a/public/app/features/plugins/ds_edit_ctrl.ts b/public/app/features/plugins/ds_edit_ctrl.ts index f86cc694255..7e4521a8b58 100644 --- a/public/app/features/plugins/ds_edit_ctrl.ts +++ b/public/app/features/plugins/ds_edit_ctrl.ts @@ -211,6 +211,10 @@ coreModule.directive('datasourceHttpSettings', function() { pre: function($scope, elem, attrs) { // do not show access option if direct access is disabled $scope.showAccessOption = $scope.noDirectAccess !== 'true'; + $scope.showAccessHelp = false; + $scope.toggleAccessHelp = function() { + $scope.showAccessHelp = !$scope.showAccessHelp; + }; $scope.getSuggestUrls = function() { return [$scope.suggestUrl]; diff --git a/public/app/features/plugins/partials/ds_http_settings.html b/public/app/features/plugins/partials/ds_http_settings.html index b35aab0c099..3af185d862c 100644 --- a/public/app/features/plugins/partials/ds_http_settings.html +++ b/public/app/features/plugins/partials/ds_http_settings.html @@ -30,7 +30,7 @@
Access mode controls how requests to the data source will be handled.