fix(auth): handle availableWorkspacesCount correctly when listing wor… (#12746)

…kspaces
This commit is contained in:
Antoine Moreaux
2025-06-20 11:55:02 +02:00
committed by GitHub
parent 2469c509a6
commit 5b81e9e611

View File

@ -698,7 +698,7 @@ export class AuthService {
!workspaceId && !workspaceId &&
!workspaceInviteHash && !workspaceInviteHash &&
action === 'list-available-workspaces' && action === 'list-available-workspaces' &&
availableWorkspacesCount !== 0 availableWorkspacesCount > 1
) { ) {
const user = const user =
existingUser ?? existingUser ??