mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
✅ fix: Agent MCP Tools Checkbox Inactive When Hidden (#8166)
This commit is contained in:
parent
55d63caaf4
commit
a648ad3d13
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ export default function AgentTool({
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
'h-4 w-4 rounded border border-gray-300 transition-all duration-200 hover:border-gray-400 dark:border-gray-600 dark:hover:border-gray-500',
|
'h-4 w-4 rounded border border-gray-300 transition-all duration-200 hover:border-gray-400 dark:border-gray-600 dark:hover:border-gray-500',
|
||||||
isExpanded ? 'opacity-100' : 'opacity-0',
|
isExpanded ? 'visible' : 'pointer-events-none invisible',
|
||||||
)}
|
)}
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue