From e01d9946b3692b8f011f769d6aa307cf095750cf Mon Sep 17 00:00:00 2001 From: emrberk Date: Fri, 12 Sep 2025 13:00:16 +0300 Subject: [PATCH] Don't render Proxy title if PDC is not available --- src/views/QuestDBConfigEditor.tsx | 32 ++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/views/QuestDBConfigEditor.tsx b/src/views/QuestDBConfigEditor.tsx index 0496baf..7bac4df 100644 --- a/src/views/QuestDBConfigEditor.tsx +++ b/src/views/QuestDBConfigEditor.tsx @@ -277,22 +277,24 @@ export const ConfigEditor: React.FC = (props) => { - + {config.featureToggles['secureSocksDSProxyEnabled'] && gte(config.buildInfo.version, '10.0.0') && ( + <> + - - {config.featureToggles['secureSocksDSProxyEnabled'] && gte(config.buildInfo.version, '10.0.0') && ( - - onSwitchToggle('enableSecureSocksProxy', e.currentTarget.checked)} - /> - - )} - + + + onSwitchToggle('enableSecureSocksProxy', e.currentTarget.checked)} + /> + + + + )}