diff --git a/frontend-web/src/components/workspace/agents/agent-manage-dialog.tsx b/frontend-web/src/components/workspace/agents/agent-manage-dialog.tsx index 5cebb4e5..12977b66 100644 --- a/frontend-web/src/components/workspace/agents/agent-manage-dialog.tsx +++ b/frontend-web/src/components/workspace/agents/agent-manage-dialog.tsx @@ -136,21 +136,21 @@ export function AgentManageDialog({ {agents.map((agent, index) => (
{index + 1} - +
{agent.name} {agent.description && ( - + {agent.description} )}
-
+
- -
- +
+ void }) {
{t.common.loading}
)} {error &&
Error: {error.message}
} - {!isLoading && !error && filteredSkills.length === 0 && ( - - )} + {!isLoading && !error && filteredSkills.length === 0 && ( + + )} {/* —— 原纵向列表布局(保留备查)—— {!isLoading && !error && @@ -986,10 +976,10 @@ export function SkillRow({ ); } -function EmptySkill({ onCreateSkill }: { onCreateSkill: () => void }) { - const { t } = useI18n(); - return ( - +function EmptySkill() { + const { t } = useI18n(); + return ( + @@ -999,12 +989,9 @@ function EmptySkill({ onCreateSkill }: { onCreateSkill: () => void }) { {t.settings.skills.emptyDescription} - - - - - ); -} + + ); +} function InstallSkillDialog({ open,