mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
UBERF-8339: Fix workspace selector sorting (#6792)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -259,7 +259,7 @@ export async function getWorkspaces (): Promise<Workspace[]> {
|
||||
if (adays === bdays) {
|
||||
return getWorkspaceSize(b) - getWorkspaceSize(a)
|
||||
}
|
||||
return bdays - adays
|
||||
return b.lastVisit - a.lastVisit
|
||||
})
|
||||
|
||||
return workspaces
|
||||
|
||||
Reference in New Issue
Block a user