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:
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>
|
||||
|
||||
Reference in new issue
Block a user