mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-22 18:34:08 +01:00
✨ fix: Minor Menu Issues (#8026)
* fix: Enable portal support in ExportAndShareMenu component * fix: MCPSubMenu with focus loop and improved button click handling * chore: remove "tools" header in toolsdropdown
This commit is contained in:
parent
2b2f7fe289
commit
5c947be455
3 changed files with 11 additions and 15 deletions
|
|
@ -99,17 +99,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
|
|||
const mcpPlaceholder = startupConfig?.interface?.mcpServers?.placeholder;
|
||||
|
||||
const dropdownItems = useMemo(() => {
|
||||
const items: MenuItemProps[] = [
|
||||
{
|
||||
render: () => (
|
||||
<div className="px-3 py-2 text-xs font-semibold text-text-secondary">
|
||||
{localize('com_ui_tools')}
|
||||
</div>
|
||||
),
|
||||
hideOnClick: false,
|
||||
},
|
||||
];
|
||||
|
||||
const items: MenuItemProps[] = [];
|
||||
items.push({
|
||||
onClick: handleFileSearchToggle,
|
||||
hideOnClick: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue