Remove deprecated "gqlDebugLogsEnabled" setting

This commit is contained in:
schroda
2024-11-28 12:22:17 +01:00
parent 0c02de5b92
commit 1e109e7d32
4 changed files with 5 additions and 19 deletions

View File

@@ -43,7 +43,6 @@ type ServerSettingsType = Pick<
| 'socksProxyUsername'
| 'socksProxyPassword'
| 'debugLogsEnabled'
| 'gqlDebugLogsEnabled'
| 'systemTrayEnabled'
| 'maxLogFiles'
| 'maxLogFileSize'
@@ -69,7 +68,6 @@ const extractServerSettings = (settings: GqlServerSettings): ServerSettingsType
socksProxyUsername: settings.socksProxyUsername,
socksProxyPassword: settings.socksProxyPassword,
debugLogsEnabled: settings.debugLogsEnabled,
gqlDebugLogsEnabled: settings.gqlDebugLogsEnabled,
systemTrayEnabled: settings.systemTrayEnabled,
maxLogFiles: settings.maxLogFiles,
maxLogFileSize: settings.maxLogFileSize,
@@ -404,17 +402,6 @@ export const ServerSettings = () => {
onChange={(e) => updateSetting('debugLogsEnabled', e.target.checked)}
/>
</ListItem>
<ListItem>
<ListItemText
primary={t('settings.server.misc.log_level.graphql.label.title')}
secondary={t('settings.server.misc.log_level.graphql.label.description')}
/>
<Switch
edge="end"
checked={serverSettings.gqlDebugLogsEnabled}
onChange={(e) => updateSetting('gqlDebugLogsEnabled', e.target.checked)}
/>
</ListItem>
<ListItem>
<ListItemText
primary={t('settings.server.misc.tray_icon.label.title')}