mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🐛 fix(home): use correct CreateGroupModal for session group creation (#11752)
* 🐛 fix(home): use correct CreateGroupModal for session group creation The "Add New Group" menu item was incorrectly opening the complex agent selection modal instead of the simple session group creation modal. This fix imports the correct CreateGroupModal component that only requires a group name input for creating agent folders. Also fixes unrelated type error in ModelSelect component. Closes: LOBE-4192 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,8 +5,8 @@ import { type ReactNode, createContext, memo, useContext, useMemo, useState } fr
|
||||
import { ChatGroupWizard } from '@/components/ChatGroupWizard';
|
||||
import { MemberSelectionModal } from '@/components/MemberSelectionModal';
|
||||
|
||||
import CreateGroupModal from '../../CreateGroupModal';
|
||||
import ConfigGroupModal from './Modals/ConfigGroupModal';
|
||||
import CreateGroupModal from './Modals/CreateGroupModal';
|
||||
|
||||
interface AgentModalContextValue {
|
||||
closeAllModals: () => void;
|
||||
|
||||
Reference in New Issue
Block a user