Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(web): hide T3 Connect toggle in web app settings (#5068)
Tai Nguyenefe1773e9c52
diff --git a/apps/web/src/components/settings/ConnectionsSettings.tsx b/apps/web/src/components/settings/ConnectionsSettings.tsxindex 300c71a33..822dab797 100644--- a/apps/web/src/components/settings/ConnectionsSettings.tsx+++ b/apps/web/src/components/settings/ConnectionsSettings.tsx@@ -1650,23 +1650,25 @@ function ConfiguredCloudLinkRow({ canManageRelay }: { readonly canManageRelay: breturn (<>- <SettingsRow- title="T3 Connect"- description={- managedTunnelActive- ? "This environment is available to your other devices through T3 Connect."- : "Make this environment available to your other devices through T3 Connect."- }- status={operationError ?? primaryCloudLinkState.error}- control={- <CloudLinkSwitch- checked={managedTunnelActive}- disabled={!canManageRelay || !isSignedIn || primaryCloudLinkState.isPending || isBusy}- disabledReason={disabledReason}- onCheckedChange={(enabled) => void updateManagedTunnel(enabled)}- />- }- />+ {window.desktopBridge ? (+ <SettingsRow+ title="T3 Connect"+ description={+ managedTunnelActive+ ? "This environment is available to your other devices through T3 Connect."+ : "Make this environment available to your other devices through T3 Connect."+ }+ status={operationError ?? primaryCloudLinkState.error}+ control={+ <CloudLinkSwitch+ checked={managedTunnelActive}+ disabled={!canManageRelay || !isSignedIn || primaryCloudLinkState.isPending || isBusy}+ disabledReason={disabledReason}+ onCheckedChange={(enabled) => void updateManagedTunnel(enabled)}+ />+ }+ />+ ) : null}<SettingsRowtitle="Publish agent activity"description="Send activity from this environment to your mobile clients for push notifications and Live Activities. Works without a T3 Connect tunnel."