mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
UBERF-8339: Fix workspace selector sorting (#6792)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
7441fa146d
commit
563f44bb66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user