"fix-sort-and-display-name"

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

View File

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

View File

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