diff --git a/src/components/organisms/ProxyForm.tsx b/src/components/organisms/ProxyForm.tsx index dd2bbf94..b2a19a0e 100644 --- a/src/components/organisms/ProxyForm.tsx +++ b/src/components/organisms/ProxyForm.tsx @@ -134,38 +134,6 @@ const ProxyForm: React.FC = () => { return ( <> - { - isProxyConfigured ? ( - - - - Current Proxy Configuration - - - - - - Proxy URL - Requires Authentication - - - - - {proxy.proxy_url} - {proxy.auth ? 'Yes' : 'No'} - - -
-
-
- - -
- ) : ( Proxy Configuration @@ -175,6 +143,37 @@ const ProxyForm: React.FC = () => { {tabIndex === 0 && ( + isProxyConfigured ? ( + + + + Current Proxy Configuration + + + + + + Proxy URL + Requires Authentication + + + + + {proxy.proxy_url} + {proxy.auth ? 'Yes' : 'No'} + + +
+
+
+ + +
+ ) : ( { Add Proxy - )} + ))} {tabIndex === 1 && ( <> @@ -250,7 +249,6 @@ const ProxyForm: React.FC = () => { )}
) - } ); };