"fix-sort-and-display-name"
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user