diff --git a/src/components/profile-data-table.tsx b/src/components/profile-data-table.tsx index 1c12551..5542ced 100644 --- a/src/components/profile-data-table.tsx +++ b/src/components/profile-data-table.tsx @@ -345,6 +345,12 @@ export function ProfilesDataTable({ cell: ({ row }) => { const profile = row.original; const hasProxy = profile.proxy?.enabled; + const regularText = hasProxy ? profile.proxy?.proxy_type : "Disabled"; + const regularTooltipText = hasProxy + ? `${profile.proxy?.proxy_type.toUpperCase()} proxy enabled (${ + profile.proxy?.host + }:${profile.proxy?.port})` + : "No proxy configured"; return ( @@ -353,16 +359,16 @@ export function ProfilesDataTable({ )} - {hasProxy ? profile.proxy?.proxy_type : "Disabled"} + {profile.browser === "tor-browser" + ? "Not supported" + : regularText} - {hasProxy - ? `${profile.proxy?.proxy_type.toUpperCase()} proxy enabled (${ - profile.proxy?.host - }:${profile.proxy?.port})` - : "No proxy configured"} + {profile.browser === "tor-browser" + ? "Proxies are not supported for TOR browser" + : regularTooltipText} );