fix(auth): handle availableWorkspacesCount correctly when listing wor… (#12746)
…kspaces
This commit is contained in:
@ -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 ??
|
||||||
|
|||||||
Reference in New Issue
Block a user