Skip to content

Commit 36bcc50

Browse files
arvinxxclaude
andauthored
πŸ› fix(home): use correct CreateGroupModal for session group creation (lobehub#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>
1 parent 3e70f47 commit 36bcc50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

β€Žsrc/app/[variants]/(main)/home/_layout/Body/Agent/ModalProvider.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { type ReactNode, createContext, memo, useContext, useMemo, useState } fr
55
import { ChatGroupWizard } from '@/components/ChatGroupWizard';
66
import { MemberSelectionModal } from '@/components/MemberSelectionModal';
77

8-
import CreateGroupModal from '../../CreateGroupModal';
98
import ConfigGroupModal from './Modals/ConfigGroupModal';
9+
import CreateGroupModal from './Modals/CreateGroupModal';
1010

1111
interface AgentModalContextValue {
1212
closeAllModals: () => void;

0 commit comments

Comments
Β (0)