From 32d032f535b21422a1af6bd686f6f5096da8ac0d Mon Sep 17 00:00:00 2001 From: JoeJoeflyn Date: Fri, 31 Jul 2026 10:28:47 +0700 Subject: [PATCH] fix(web): hide T3 Connect toggle in web app settings T3 Connect managed tunnel is a desktop-only feature. The toggle was rendered in the web app's "This environment" panel, misleading users who are already connected via T3 Connect. Gate the row on window.desktopBridge; "Publish agent activity" stays since it works without a tunnel. Closes #5046 --- .../settings/ConnectionsSettings.tsx | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/apps/web/src/components/settings/ConnectionsSettings.tsx b/apps/web/src/components/settings/ConnectionsSettings.tsx index ae9f061b01a..f839e44bb6c 100644 --- a/apps/web/src/components/settings/ConnectionsSettings.tsx +++ b/apps/web/src/components/settings/ConnectionsSettings.tsx @@ -1649,23 +1649,25 @@ function ConfiguredCloudLinkRow({ canManageRelay }: { readonly canManageRelay: b return ( <> - void updateManagedTunnel(enabled)} - /> - } - /> + {window.desktopBridge ? ( + void updateManagedTunnel(enabled)} + /> + } + /> + ) : null}