mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 12:42:01 +00:00
feat: sort workspaces (#8770)
## Summary Sort workspaces so that the personal workspace appears first, followed by the rest in ascending order (oldest first) by created_at / joined_at. ## Changes - **What**: teamWorkspaceStore.ts, teamWorkspaceStore.test.ts - **Breaking**: <!-- Any breaking changes (if none, remove this line) --> - **Dependencies**: <!-- New dependencies (if none, remove this line) -->
This commit is contained in:
@@ -11,6 +11,8 @@ interface Workspace {
|
||||
id: string
|
||||
name: string
|
||||
type: WorkspaceType
|
||||
created_at: string
|
||||
joined_at: string
|
||||
}
|
||||
|
||||
export interface WorkspaceWithRole extends Workspace {
|
||||
|
||||
Reference in New Issue
Block a user