fix(account): correct tooltip visibility logic for remote config lock (#7313)

Invert the boolean condition for TooltipContent's hidden prop to properly
show the tooltip when organization has remote configuration enabled.
Previously, the tooltip was hidden when it should be visible and vice versa.
This commit is contained in:
Bee authored and GitHub committed 2025-11-05 15:57:47 -08:00
1 parent 2f09b994dd
commit f2a93b6201
1 file changed
+1 -1
@@ -346,7 +346,7 @@ export const ClineAccountView = ({ clineUser, userOrganizations, activeOrganizat
))}
</VSCodeDropdown>
</TooltipTrigger>
<TooltipContent hidden={isLockedByRemoteConfig}>
<TooltipContent hidden={!isLockedByRemoteConfig}>
This cannot be changed while your organization has remote configuration enabled.
</TooltipContent>
</Tooltip>