From 83df1685a3e21c3bf43df8b24d436f72d6e1486a Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 5 Jun 2025 16:18:39 +0800 Subject: [PATCH] fix(AssistantsTab): remove untagged group title This commit updates the AssistantsTab component to only display group titles for tagged assistants, excluding the 'untagged' category. This change enhances the UI by reducing clutter and improving clarity in the display of assistant groups. --- src/renderer/src/pages/home/Tabs/AssistantsTab.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/renderer/src/pages/home/Tabs/AssistantsTab.tsx b/src/renderer/src/pages/home/Tabs/AssistantsTab.tsx index 16048a0f1e..ac1851df38 100644 --- a/src/renderer/src/pages/home/Tabs/AssistantsTab.tsx +++ b/src/renderer/src/pages/home/Tabs/AssistantsTab.tsx @@ -58,12 +58,14 @@ const Assistants: FC = ({
{getGroupedAssistants.map((group) => ( - - - {group.tag} - - - + {group.tag !== t('assistants.tags.untagged') && ( + + + {group.tag} + + + + )} {group.assistants.map((assistant) => (