From 8584c2d2d56f0b614aba7154279fad793380a98d Mon Sep 17 00:00:00 2001 From: kay delaney <45561153+kaydelaney@users.noreply.github.com> Date: Wed, 22 Jul 2020 12:40:52 +0100 Subject: [PATCH] DataSourceSettings: Hide custom HTTP header options when access mode is browser (#26481) Closes #26422 --- .../components/DataSourceSettings/DataSourceHttpSettings.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/DataSourceSettings/DataSourceHttpSettings.tsx b/packages/grafana-ui/src/components/DataSourceSettings/DataSourceHttpSettings.tsx index ee10b6b663b..1c14b412a8b 100644 --- a/packages/grafana-ui/src/components/DataSourceSettings/DataSourceHttpSettings.tsx +++ b/packages/grafana-ui/src/components/DataSourceSettings/DataSourceHttpSettings.tsx @@ -210,7 +210,9 @@ export const DataSourceHttpSettings: React.FC = props => { )} - + {dataSourceConfig.access === 'proxy' && ( + + )} );