@@ -34,7 +34,6 @@ type SettingsModalProps = {
34
34
isAIFeatureEnabled : boolean ;
35
35
isOpen : boolean ;
36
36
isOIDCEnabled : boolean ;
37
- isProxySupportEnabled : boolean ;
38
37
selectedTab : SettingsTabId | undefined ;
39
38
onMount ?: ( ) => void ;
40
39
onClose : ( ) => void ;
@@ -65,7 +64,6 @@ const settingsStyles = css(
65
64
66
65
export const SettingsModal : React . FunctionComponent < SettingsModalProps > = ( {
67
66
isAIFeatureEnabled,
68
- isProxySupportEnabled,
69
67
isOpen,
70
68
selectedTab,
71
69
onMount,
@@ -86,6 +84,11 @@ export const SettingsModal: React.FunctionComponent<SettingsModalProps> = ({
86
84
{ tabId : 'general' , name : 'General' , component : GeneralSettings } ,
87
85
{ tabId : 'theme' , name : 'Theme' , component : ThemeSettings } ,
88
86
{ tabId : 'privacy' , name : 'Privacy' , component : PrivacySettings } ,
87
+ {
88
+ tabId : 'proxy' ,
89
+ name : 'Proxy Configuration' ,
90
+ component : ProxySettings ,
91
+ } ,
89
92
] ;
90
93
91
94
if (
@@ -108,14 +111,6 @@ export const SettingsModal: React.FunctionComponent<SettingsModalProps> = ({
108
111
} ) ;
109
112
}
110
113
111
- if ( isProxySupportEnabled ) {
112
- settings . push ( {
113
- tabId : 'proxy' ,
114
- name : 'Proxy Configuration' ,
115
- component : ProxySettings ,
116
- } ) ;
117
- }
118
-
119
114
if ( useShouldShowFeaturePreviewSettings ( ) ) {
120
115
settings . push ( {
121
116
tabId : 'preview' ,
@@ -170,7 +165,6 @@ export default connect(
170
165
state . settings . isModalOpen && state . settings . loadingState === 'ready' ,
171
166
isAIFeatureEnabled : ! ! state . settings . settings . enableGenAIFeatures ,
172
167
isOIDCEnabled : ! ! state . settings . settings . enableOidc ,
173
- isProxySupportEnabled : ! ! state . settings . settings . enableProxySupport ,
174
168
hasChangedSettings : state . settings . updatedFields . length > 0 ,
175
169
selectedTab : state . settings . tab ,
176
170
} ;
0 commit comments