From 89fba4638f480a30c8e03a6e1dc9f9d2dbace015 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 9 May 2026 21:20:47 +0000 Subject: [PATCH] fix: remove duplicate notebook names in agent selects - use flat list instead of optgroup --- memento-note/components/agents/agent-detail-view.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/memento-note/components/agents/agent-detail-view.tsx b/memento-note/components/agents/agent-detail-view.tsx index 9976ebb..570df9c 100644 --- a/memento-note/components/agents/agent-detail-view.tsx +++ b/memento-note/components/agents/agent-detail-view.tsx @@ -495,12 +495,12 @@ export function AgentDetailView({ > {notebooks.filter(nb => !nb.parentId).map(nb => ( - - + <> + {notebooks.filter(c => c.parentId === nb.id).map(child => ( ))} - + ))} @@ -651,12 +651,12 @@ export function AgentDetailView({