"fix-sort-and-display-name"

This commit is contained in:
2026-05-28 17:11:50 -04:00
parent e490d911fc
commit 3b5c3290b2
2 changed files with 2 additions and 2 deletions

View File

@@ -295,7 +295,7 @@ export function useSessions(workspaceId: string, page = 1, pageSize = 20) {
path: { workspace_id: workspaceId }, path: { workspace_id: workspaceId },
query: { page, page_size: pageSize }, query: { page, page_size: pageSize },
}, },
body: {}, body: { reverse: true },
}, },
); );
return data ?? err(error); return data ?? err(error);

View File

@@ -137,7 +137,7 @@ export function SessionList() {
className="font-mono text-sm font-medium truncate" className="font-mono text-sm font-medium truncate"
style={{ color: COLOR.accentSoft }} style={{ color: COLOR.accentSoft }}
> >
{mask(session.id)} {session.name || mask(session.id)}
</span> </span>
<div className="flex items-center gap-2 shrink-0 ml-2"> <div className="flex items-center gap-2 shrink-0 ml-2">
{session.is_active && ( {session.is_active && (